ATTENTION: This is only a example of to use a python bind of torrent library in Python for educational purposes. I am not responsible for your download of illegal content or without permission. Please respect the laws license permits of your country.
RIP to the project as HorribleSubs site has been closed
You need to have already installed Python3, Chrome browser v79+ and qbittorrent (support for 4.1+ for release >0.1.0, use 0.1.0 for v3.2.0-v4.0.4 versions support).
Make sure you also have installed pip. Run the following commands at the project root:
python3 -m venv venv
if you're on macOS / linux orpy -m venv venv
on windows to create a virtual environmentsource venv/bin/activate
if you're on macOS / linux or.\venv\Scripts\activate
on windows to activate the venvpip install -r requirements.txt
to install the dependencies
First, you have to change the preferences / settings in qbittorrent. In the WebUI section:
- check Web User Interface (remote control)
- fill
127.0.0.1
in the IP address field and8081
in the port field - in the authentification part, check
Bypass authentification for clients on localhost
Keep in mind that qbittorrent application needs to be launched before the python application.
You can now go to the project root directory and launch the following command python3 app.py
.
The application will then be accessible from 127.0.0.1:5000, just choose your anime in the dropdown list, the resolution and the desired output directory and click on download.