Automatically removes trackers from active qBittorrent downloads.
Project description
TrackersRemover-qBittorrent 🗑️
TrackersRemover-qBittorrent is a Python script that connects to qBittorrent's Web UI and removes trackers from torrents once their download speed exceeds a configurable threshold. This can help improve privacy or reduce reliance on certain trackers.
Features
- Starts qBittorrent (Windows and macOS)
- Connects to qBittorrent Web UI via
qbittorrent-api. - Lists torrents and their trackers.
- Removes non-ignored trackers from torrents actively downloading above a minimum speed.
- Configurable ignored trackers list and minimum download speed threshold.
Installation via PyPI
-
Start qBittorrent and configure qBittorrent Web UI
-
Install Python >=3.8 if it is not done
-
Open CMD (Terminal) and install the python package directly using pip:
pip install trackersremoverqbt
-
Then simply run it from the command line in CMD:
trackersremoverqbt # or trqbt
Available options:
# Exemple (works with trqbt instead of trackersremoverqbt)
trackersremoverqbt --host localhost --port 8080 --username admin --password 123456 --no-verify True --min-dl-speed 15 --launch-qbt True --ignored-trackers "tracker1.example.com" "tracker2.example.com"
# or
trackersremoverqbt -H localhost -P 8080 -U admin -PSW 123456 --no-verify True -MDL 15 -QBT True --ignored-trackers "tracker1.example.com" "tracker2.example.com"
# For version
trackersremoverqbt -V
# or
trackersremoverqbt --version
# For help
trackersremoverqbt --help
| Argument | Alias(s) | Description | Default Value |
|---|---|---|---|
--host |
-H |
qBittorrent Web UI address | localhost |
--port |
-P |
Web UI port | 8080 |
--username |
-U |
Web UI username | admin |
--password |
-PSW |
Web UI password | 123456 |
--no-verify |
Disable SSL certificate verification | True (verification disabled by default) |
|
--min-dl-speed |
-MDL |
Minimum download speed in KB/s to trigger tracker removal | 10 |
--ignored-trackers |
Additional list of trackers to ignore (added to defaults) | [] (empty by default) |
|
--launch-qbt |
-QBT |
Launch qBittorrent if not running | True |
--version |
-V |
Show program version and exit | |
--help |
Show this help message and exit |
Usage
The script runs in a loop, periodically checking torrents and removing trackers that meet the criteria. It outputs a formatted table of torrents with their trackers and logs removal actions.
Disclaimer
Removing trackers from torrents goes against the principles of traditional P2P sharing. By using this plugin, you acknowledge and agree:
- You understand the implications of modifying torrent behavior.
- You are solely responsible for any consequences that arise from using this plugin.
- The author(s) of TrackersRemover are not responsible for any misuse or unlawful use of this software.
Notes
This tool is intended for advanced users aware of torrenting implications.
Tested on Python 3.12 and qBittorrent Web UI 5.x.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trackersremoverqbt-0.3.1.tar.gz.
File metadata
- Download URL: trackersremoverqbt-0.3.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3af984e3743ad54dd2e465c08f0ae414b0f6397523f55a0e9f47f76e477aa977
|
|
| MD5 |
ce52d32ee6aa1af28cb2149975c0c30f
|
|
| BLAKE2b-256 |
8c2c0cde5dcf35c5141163842a2b0cf92ce719f23c79fbc160c74d415dc61638
|
File details
Details for the file trackersremoverqbt-0.3.1-py3-none-any.whl.
File metadata
- Download URL: trackersremoverqbt-0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed77f5f6ab862afdc58b1dcd0bac01e5f68c042fbc602637ed1257b1b5cff2e7
|
|
| MD5 |
5c2ca9c9f4bf380711267b42aecad3ff
|
|
| BLAKE2b-256 |
21aaaf4821f4a891ad9c071fe9933f1df172a1f6812c30724371b303e0d0febe
|