Skip to content

qbittorrent enhance for tracker subscription, ant-leech (ban peers whose client name is "XL.../xunlei/..."). 定时调用webapi接口,检查和屏蔽迅雷等吸血客户端,以及定时更新tracker订阅。 具体看任务列表:tasks/config/crontabs/

License

Notifications You must be signed in to change notification settings

LawssssCat/Self-Host-qBittorrent

Repository files navigation

Getting Started

Specify download path

qbittorrent_download_path="/path/to/dir" # change
docker volume create --opt type=none --opt o=bind --opt device=${qbittorrent_download_path} qbittorrent-download 

Create config path

mkdir ./data/qbittorrent/config -p

Create .env and custom environment variables

cp .env.example .env
vim .env

Boot up Qbittorrent

docker-compose up -d

Update tracker

docker-compose exec qbittorrent /tasks/add_trackers_update.sh

Click & Save Options > BitTorrent > Automatically add these trackers to new downloads in WebUI

Usage

Task

# Update subscribed trackers from net
# env: qbt_tracker_fetch_urls —— the updated list of public trackers
# env: qbt_tracker_static_urls —— the public trackers that we have known
docker compose exec qbittorrent /tasks/add_trackers_update.sh

# Ban peers by matching pattern
# env: qbt_peer_ban_pattern
docker compose exec qbittorrent /tasks/ban_peers_add.sh

# Clean up ban list of peers
docker compose exec qbittorrent /tasks/ban_peers_clean.sh

# Update torrent trackers: remove unwork and add newly fetched trackers 
# env: qbt_trackers_update_torrent_num —— the number of torrents to update trackers
docker compose exec qbittorrent /tasks/torrent_trackers_update.sh

Config

+ ./env                       —— tasks (and docker) environment
+ ./tasks/config/crontabs/abc —— tasks schedule

Logs

+ docker compose logs -f -t --tail=100
+ ./data/qbittorrent/config/qBittorrent/logs/qbittorrent.log —— qbittorrent application runtime log

Reference

Docker

Qbittorrent

About

qbittorrent enhance for tracker subscription, ant-leech (ban peers whose client name is "XL.../xunlei/..."). 定时调用webapi接口,检查和屏蔽迅雷等吸血客户端,以及定时更新tracker订阅。 具体看任务列表:tasks/config/crontabs/

Topics

Resources

License

Stars

Watchers

Forks

Languages