-
autoremove-torrents
https://autoremove-torrents.readthedocs.io/zh_CN/latest/index.html
安装
pip install autoremove-torrents #安装
find / -name 'autoremove-torrents' #找路径
创建配置文件
cd
mkdir AutoRemove
cd AutoRemove
vim config.yml
测试运行
cd /root/AutoRemove
autoremove-torrents --view #不删除,查看是否命中
autoremove-torrents #执行一次删除
设置定时任务
crontab -e
。。。
查看运行情况日志
logs文件夹,logs文件按天会单独列出。
配置文件举例
My_AutoRemove: client: qbittorrent host: http://x.x.x.x:9090 username: admin password: adminadmin strategies: My_strategy: remove: (progress > 98 ) or (seeding_time > 18000 and ratio < 0.3) or (seeding_time > 36000 and ratio < 0.5) or (seeding_time > 259200 and ratio < 3) or (seeding_time > 604800) free_space: min: 5 path: 路径 action: remove-big-seeds delete_data: true
-
FlexGet
安装flexget
which flexget #查询 FlexGet 安装位置,例如位置为 /usr/local/bin/flexget
flexget -V #查看flexget版本
配置Flexget目录及config文件
mkdir ~/.flexget #创建.flexget目录
vim ~/.flexget/config.yml # 创建及更改config.yml内容
mkdir ~/.flexget/plugins && cd ~/.flexget/plugins && wget https://github.com/Juszoe/flexget-nexusphp/releases/download/v1.4/nexusphp.py #创建plugins目录,下载nexusphp插件
flexget web passwd ThisIsPassword #改ui密码ThisIsPassword
flexget daemon start --daemonize #开启 webui 后台运行
Config文件样本
的
-
qb
的