Giter Club home page Giter Club logo

qbittorrentautoresume's Introduction

qBittorrent 进种暂停后自动恢复

引言

可恶的HDSKY,盒子刷流居然前1小时不给计入流量!!太坏了!我们要想办法防止自己被白嫖!

思路

监听qbittorrent的种子状态,当状态为Paused,且添加时长大于设定时间时,开始种子

话不多说,开始吧

这里是一个配合RSS使用的脚本,在RSS任务中需要勾选添加种子时暂停选项。

bash <(wget -qO- https://raw.githubusercontent.com/ours1505/qBittorrentAutoResume/master/main.sh)

按照提示输入相关信息即可 程序会自动运行,每60秒检测一次
后续日志查看:

journalctl -u qBittorrentAutoResume.service

开启:

systemctl start qBittorrentAutoResume.service

关闭:

systemctl stop qBittorrentAutoResume.service

重载

systemctl restart qBittorrentAutoResume.service

配置文件

vim /opt/qBittorrentAutoResume/config.ini

注意

如果qbittorrent运行在docker中,127.0.0.1将无法连接到qb!请使用dockerIP或者直接使用主机公网IP
设置图片 1713535735686.png

qbittorrentautoresume's People

Contributors

ours1505 avatar

Stargazers

 avatar  avatar Kaiann avatar

Watchers

 avatar

qbittorrentautoresume's Issues

脚本报错

错误日志:
configparser.NoOptionError: No option 'host' in section: 'qbittorrent'
main.py里读取host,但config.ini里配的是ip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.