flexget自动为qbittorrent、transmission等PT客户端添加种子任务

https://flexget.com flexget解决了PT客户端没有RSS订阅功能,实现全自动添加种子任务到qbittorrent、 transmission、 deluge等客户端上,配合使用autoremove-torrents自动删除PT种子文件简直是PT党刷上传流量的必备神器 安装flexget 从pip安装 apt update apt install python3-pip pip3 install flexget flexget配置文件 mkdir .flexget nano .flexget/config.yml 示范配置 templates: # 剩余空间模板,当 path 对应的路径的剩余空间小于 space 规定的数值的时候停止 RSS 下载 单位MB freespace: free_space: path: /home/star space: 10240 # qb 的模板,之后写 qb 就是指把种子推送到 qb 进行下载;下面 tr de rt 也是如此 # 除非你修改了对应客户端的账号密码或者端口号,不然不需要修改这些客户端的模板 qb: qbittorrent: path: /home/SCRIPTUSERNAME/qbittorrent/download/ host: localhost port: 8080 username: admin password: adminadmin tr: transmission: path: /home/SCRIPTUSERNAME/transmission/download/ host: localhost port: 9091 username: SCRIPTUSERNAME password: SCRIPTPASSWORD de: deluge: path: /home/SCRIPTUSERNAME/deluge/download/ host: localhost port: 58846 username: SCRIPTUSERNAME password: SCRIPTPASSWORD # 体积过滤模板,min 是符合条件的最小种子体积,max 是符合条件的最大种子体积,单位均为 MB # strict 默认是 yes,表示在无法确定大小的情况下就不下载,这里把它改成 no 了 # 也就是说,这段 size 的意思是,只下载体积为 6000-666666 MB 的种子,其他不满足条件的种子不下载 size: content_size: min: 10000 max: 66666 strict: no # 任务 tasks: CHDbits: rss: https://chdbits.co/torrentrss.php?rows= verify_ssl_certificates: no accept_all: yes template: - freespace - qb qbittorrent: maxupspeed: 45000 # qbittorrent单种上传限速45000KB/S label: CHDbits CMCT: rss: https://hdcmct.org/torrentrss.php?rows= verify_ssl_certificates: no accept_all: yes template: - freespace - size - qb qbittorrent: label: CMCT # RSS功能使用daemon模式的schedules或者使用cron 二选一 #schedules: # - tasks: [ChDbits, CMCT] # interval: # minutes: 10 # 这里我选用是CRON schedules: no # 每10分钟执行一次 使用 schedules 示范 ...

十二月 23, 2021 · admin

使用autoremove-torrents自动删除PT种子文件

GitHub: https://github.com/jerrymakesjelly/autoremove-torrents 文档:https://autoremove-torrents.readthedocs.io/zh_CN/latest/ 环境要求 Python 2.7 或 Python 3 以Debian系统安装为例安装Python3 apt update apt install python3-pip 安装autoremove-torrents 从 pip 安装 pip3 install autoremove-torrents 或者从 GitHub 安装 git clone https://github.com/jerrymakesjelly/autoremove-torrents.git cd autoremove-torrents python3 setup.py install 编写配置文件 你可以把配置文件放在磁盘的任何地方。不过,在默认情况下,autoremove-torrents只在Shell的当前工作目录去找 # 创建autoremove-torrents目录 mkdir /root/autoremove-torrents # 创建autoremove-torrents 日志文件 touch /root/autoremove-torrents/logs 创建autoremove-torrents的配置文件 nano /root/autoremove-torrents/config.yml 配置示范如下 my_task: client: qbittorrent host: http://127.0.0.1:8080 username: admin password: adminadmin strategies: my_strategy: remove: seeding_time > 86400 or (ratio > 1 and last_activity > 600) delete_data: false 该语法是复合表达式。 ...

十二月 22, 2021 · admin

Linux安装、使用qBittorrent

qBittorrent是一款常见的BT,PT下载工具, PT下载工具对比 qBittorrent在PT中抢上传有优势 Transmission适合在PT保种,系统资源占用少点 安装qBittorrent 添加软件源 add-apt-repository ppa:qbittorrent-team/qbittorrent-stable 按ENTER回车键添加软件源 【可选】如出现add-apt-repository command not found的解决方法 apt-get install software-properties-common 安装qBittorrent Webui apt-get update apt-get install qbittorrent qbittorrent-nox -y 启动软件 qbittorrent-nox & 访问 http://localhost:8080 来控制qBittorrent The Web UI administrator user name is: admin Web 用户界面管理员密码设置为默认密码:adminadmin 存在安全风险!请考虑在设置更改密码! 指定端口: qbittorrent-nox --webui-port=XXXX 命令是在当前窗口下启动的,如果窗口关闭也就跟着一同关闭了,所有需要后台运行,完整命令如下: qbittorrent-nox --webui-port=8899 & 添加qbittorrent-nox开机自动启动 创建qbittorrent-nox启动服务 echo "[Unit] Description=qbittorrent-nox After=network.service [Service] Type=simple User=root Group=root ExecStart=/usr/bin/qbittorrent-nox PrivateTmp=true Restart=on-failure [Install] WantedBy=multi-user.target" > /etc/systemd/system/qbittorrent-nox.service 启动qbittorrent-nox systemctl daemon-reload systemctl enable qbittorrent-nox.service systemctl start qbittorrent-nox.service qBittorrent身份认证失败次数过多,您的 IP 地址已被封禁。 重启qbittorrent-nox ...

九月 22, 2017 · admin