Skip to content

Mechazawa/RedBetter-WM2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedBetter-WM2

Redbetter does not scrape the better.php HTML. This means that it's fine to use.

usage: ./redbetter-wm2 [-h] [-s SNATCHES] [-b BETTER] [-c COUNT] [-y YEAR]
                       [-t INCLUDE] [-T EXCLUDE] [-w WAIT] [--dry-run]
                       [--verbose] [--config CONFIG] [-W SECONDS] [-r N]

optional arguments:
  -h, --help            show this help message and exit
  -s SNATCHES, --snatches SNATCHES
                        minimum amount of snatches required before transcoding
                        (default: 5)
  -b BETTER, --better BETTER
                        better transcode search type (default: 3)
  -c COUNT, --count COUNT
                        maximum amount to queue (-1 for infinite) (default: 5)
  -y YEAR, --year YEAR  minimum release year (default: 2016)
  -t INCLUDE, --include INCLUDE
                        required comma separated tags (default: None)
  -T EXCLUDE, --exclude EXCLUDE
                        excluded comma separated tags (default: None)
  -w WAIT, --wait WAIT  wait X seconds between snatches (default: 3)
  --dry-run             don't snatch any torrents (default: False)
  --verbose, -v         verbosity level (up to -vv) (default: 0)
  --config CONFIG       the location of the configuration file (default:
                        /Users/shodan/.config/redbetter)
  -W SECONDS, --rate-limit-window SECONDS
                        size of rate limiter time window in seconds (default:
                        10)
  -r N, --rate-limit-max N
                        max amount of requests per time window (default: 5)

Example output

Config can be found at ~/.config/redbetter

$ ./redbetter-wm2.py --year 2010 -s 1
1/5 Snatching [96548] Alex Anwandter - Amiga (2016) | Se 11 Le 0 Sn 3
2/5 Snatching [271405] Reina del Cid - Let’s Begin (2011) | Se 2 Le 0 Sn 2
3/5 Snatching [325775] Aradia Ensemble - Theatre Music 2 (2016) | Se 7 Le 0 Sn 2
4/5 Snatching [250444] HyunA (현아) - A Talk (2014) | Se 3 Le 0 Sn 1
5/5 Snatching [356234] Laughing Buddha - - Sacred Technology (Nano Rec.) (2010) | Se 1 Le 0 Sn 1

Example config

[redacted]
username = 
password = 

[whatmanager]
username = 
password = 
url = https://seedbox.example.com/transcode/request

[pushjet]
; optional
secret = 

Releases

No releases published

Packages

No packages published

Languages