Scripts for auto-downloading torrents via the RevolutionTT RSS feed. Implemented in a variety of languages for convenience, but mostly as personal programming exercises.
Clone and setup config files.
$ git clone https://github.com/lee-reinhardt/revtt-rss.git
$ cd revtt-rss
$ cp -r .revtt-rss ~
Update ~/.revtt-rss/config.json
with your account values.
option | description |
---|---|
uid |
User ID. |
pass |
Cookie auth pass. |
passkey |
Tracker torrent passkey. |
categories |
Comma-separated list of category IDs. |
save_dir |
Full path to torrent file download directory. |
max_history |
Maximum number of files to keep in history.txt . |
To find your passkey
and assemble a personalized categories
string, log in, and visit /getrss.php
. To find your uid
and pass
check your site cookies.
These three files contain regexes describing files you want (good.txt
), do not want (bad.txt
), and have already downloaded (history.txt
). Each entry should be separated by a newline.
See the following examples.
Game\.[Oo]f\.Thrones.+720p.+[xX]264.+
South\.Park.+720p.+[xX]264.+
The\.Big\.Bang\.Theory.+720p.+[xX]264.+
Archer.+720p.+[xX]264.+
.+1080p\.HDTV.+
.+DD5.+
.+[Ii]NTERNAL.+
- All scripts read config files from
~/.revtt-rss
. - All scripts log to syslog with the name
revttrss
.
Ensure you have pip installed.
$ cd revtt-rss/python
$ pip install -r requirements.txt
$ python rss.py
Ensure you have bundler installed.
$ cd revtt-rss/ruby
$ bundle install
$ ruby rss.rb
Ensure you have nodejs installed.
$ cd revtt-rss/javascript
$ npm install
$ node rss.js
$ cd revtt-rss/elixir
$ mix deps.get
$ mix escript.build
$ ./revttrss
@todo
@todo
$ crontab -e
# run the script every minute
* * * * * python /home/user/revtt-rss/python/rss.py 2>&1
# or
* * * * * ruby /home/user/revtt-rss/ruby/rss.rb 2>&1
# or
* * * * * node /home/user/revtt-rss/javascript/rss.js 2>&1
Based on the original Perl script written by RevTT user deadhead.