Update: This script is for the most part a proof of concept and a slight pain to install. If anyone wants me to, I'll update the repository to become a proper Python package.
Python script to download anime episodes from HorribleSubs. You supply the show's full URL and all the episodes are added to your torrent client in ascending order after confirming the download.
The script currently assumes the following things:
- You are using a Mac
- You want 1080p episodes
- You have downloaded and installed all the dependencies in the right spots
Make sure you have installed all the dependencies, putting chromedriver in the same folder as the script.
Currently you just have to use:
$ ./hs_download.pyThe script will prompt you for a URL and report the number of 1080p magnets found:
Paste url of show to download:
http://horriblesubs.info/shows/3-gatsu-no-lion
Number of 1080p magnets found: 12Since the script relies on pyautogui pressing enter to automate adding torrents to your client, please wait without touching your computer until the script has finished.
We all know the feeling when you finally find a show you want to binge and go download all the episodes. In my case, when I try downloading an anime from HorribleSubs and it hasn't finished airing, I have to manually go through all the (1080p, duh) links and click on the magnets in order to do so, so I set out to automate this process using Python.