Skip to content

Automatically downloads torrents and subtitles for the latest episodes of your favorite TV shows

License

Notifications You must be signed in to change notification settings

RouxRC/series-DL

Repository files navigation

series-DL

#LifeHacking :-)

Automatically handle downloading from EZTV and ThePirateBay the latest episodes of your list of favorite shows, get matching subs on Addic7ed and rename all files cleanly in your ToWatch directory.

Optionnally always download first episodes of new shows.

Meant for use under Linux with Vuze/Azureus torrent client, but should also work under MacOsX and with any torrent client that handles starting magnet links from command line.

Dependencies

pip install requests

Configure

cp config.inc{.example,}
cp config.py{.example,}

Edit config.inc & config.py and set your choices of:

  • torrent client (written for Aria2c but should work with any client able to start magnet links from command line such as aria2c "magnet:xxxxxx")
  • Achieved torrents and ReadyToWatch directories
  • resolution and subtitles language
  • whether you want to discover first episodes of new shows
  • list of shows
  • eventually some proxy servers (ssh home for torrent downloads in config.sh, http one for subs in config.py)
  • eventually some addic7ed logged in cookies

Run

  • To search for new torrents and start them:
./download.sh
  • To catch up episodes of a specific show:
./download.sh "Game of Thrones"
# optionnally bypass the general resolution choice adding a second random argument
./download.sh "Powers" 1
# or for an anime or any show without SxxEyy pattern:
./download.sh "Naruto Shippuuden #NOSEASON"
  • To download new episodes subtitles and rename the video altogether:
./getSubs.py
  • Or to download only subtitles for episodes with filename matching some filter:
./getSubs.py --filter "That special show"
  • To cleanup achieved torrents and move resulting video into your ready directory:
./rotate.sh
# Add an extra argument to start downloading subs and renaming afterwards as well, for instance:
./rotate.sh 1
  • Or let it all run automatically for instance with cronjobs:
crontab -e
# add lines such as:
#  00  */8  * * *    DISPLAY=:0.0 <THIS DIR PATH>/download.sh >> <THIS DIR PATH>/logDL.txt  2>&1
# */15  *   * * *                 <THIS DIR PATH>/rotate.sh 1 >> <THIS DIR PATH>/logRot.txt 2>&1

About

Automatically downloads torrents and subtitles for the latest episodes of your favorite TV shows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published