应该是外国人技术佬做的,能docker安装 https://github.com/zeroone2numeral2/qbittorrent-bot pull the image: docker pull 0one2/qbittorrent-bot docker run -d -v /root/config.toml:/app/config.toml 0one2/qbittorrent-bot tg命令怎么翻译成中文啊,全英文怪难受的 配置文件/root/config.toml
- [telegram]
- token = "tg机器人token"
- admins = [@userinfobot填入你的tg-id]
- workers = 1 # number of python-telegram-bot workers. One worker is more than enough
- timeout = 120 # requests timeout in seconds
- errors_log_chat = 0 # chat where to post exceptions. If disabled (0), the first user id in ‘admins’ will be used
-
- [proxy]
- url = "" # socks5(h)://ip:port or http://user:[email protected]:port/
- username = "" # Socks only, Use url embeded user/pass for http(s)
- password = "" # Socks only
-
- [notifications]
- completed_torrents = 0 # id of a chat to notify when a torrent is completed. 0 to disable
- no_notification_tag = "" # if a torrent has this tag, do not send the completed download notification in the notifications chat (if set). Case insensitive. "" (empty string) to disable
- added_torrents = 0 # id of a chat to notify when a new torrent is added. 0 to disable
-
- [qbittorrent]
- url = "http://172.0.0.1:8080/"
- # for docker user the url should not be 127.0.0.1 because the container is connected to docker0 network
- # url = "http://127.0.0.1:8080" # docker0 network, the 172.0.0.1 is host ip addr
- login = "登录名"
- secret = "密码"
- added_torrents_tag = "telegram bot" # a tag to add to the torrents added through the bot. "" (empty string) to disable
- added_torrents_category = "" # the category to set for torrents added through the bot. "" (empty string) to disable
- altspeed_presets = [
- # alternative speed buttons (in kb/s) to show when /overview is used. Set this to [] (empty list) to show no altspeed button
- # [upload, download],
- [5, 10],
- [5, 50],
- [5, 200],
- ]
复制代码
|