Skip to main content

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

  1. Start qBittorrent and configure qBittorrent Web UI

  2. Install Python >=3.8 if it is not done

  3. Open CMD (Terminal) and install the python package directly using pip:

    pip install trackersremoverqbt
    
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trackersremoverqbt-0.3.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trackersremoverqbt-0.3.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file trackersremoverqbt-0.3.0.tar.gz.

File metadata

  • Download URL: trackersremoverqbt-0.3.0.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

Hashes for trackersremoverqbt-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d0a94a270745067dc8ea7b0e93c8821e608efc247c79d812248b6f3cd5f30b0d
MD5 f60a0912d521d77be2070c88d44e60c0
BLAKE2b-256 53ac48d17539a7686966366f7a445db14be0d6d9c1c3adcd559056ac48e591ec

See more details on using hashes here.

File details

Details for the file trackersremoverqbt-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for trackersremoverqbt-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc108332cd71a97d08b01fd670f91011569b1518639cdddbcaa566e2695e4d79
MD5 67aba95c274419f77b150432c00aa160
BLAKE2b-256 fb69a8ddf4669babe79e6823be09bde3ca6186ce44a7cb25a8e7f8f8036b151e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page