Skip to content

为 qBittorrent 屏蔽吸血客户端

Notifications You must be signed in to change notification settings

arzyu/qbittorrent-ban-peer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

qbittorrent-ban-peer

为 qBittorrent 屏蔽吸血客户端

运行

  • 运行前必须在 qBittorrent 的设置中启用 Web UI 功能,用户及密码需要和 main.py 中保持一致
  • 本项目使用 pipenv 管理依赖,请确保已安装 pipenv
cd qbittorrent-ban-peer

# 安装依赖
pipenv install --dev

# 进入 python venv shell 并运行程序
pipenv shell
python ./main.py
# 运行时每隔 5 秒检查 peer,将吸血客户端 IP 加入到屏蔽列表(qBittorrent 设置 > 链接 > IP 过滤)
$ python ./main.py
# qBittorrent: v4.4.5
# qBittorrent Web API: 2.8.5
>> ban: **.**.**.***:15000 "-XL0012-__%___!!_"
>> ban: ***.***.***.***:10337 "-XL0012-s?_zd__N"

About

为 qBittorrent 屏蔽吸血客户端

Resources

Stars

Watchers

Forks

Languages