网友 **总统*** 说:
应该是外国人技术佬做的,能docker安装
https://github.com/ze**one2numeral2/*bittorrent-bot
pull the image: docker pull 0one2/*bittorrent-bot
docker run -d -v /**ot/config.toml:/app/config.toml 0one2/*bittorrent-bot
tg命令怎么翻译成中文啊,全英文怪难受的
配置文件/**ot/config.toml
- [telegram]
- token = &*uot;tg机器人token&*uot;
- *****s = [@use**nfobot填入你的tg-id]
- workers = 1 # number of python-telegram-bot workers. One worker is **** than enough
- timeout = 120 # re*uests timeout in seconds
- er**rs_log_chat = 0 # chat where to post exceptions. If disabled (0), the first user id in ‘*****s’ will be used
- [p**xy]
- **l = &*uot;&*uot; # socks5(h)://ip:port or http://user:pa**@ip:port/
- username = &*uot;&*uot; # Socks only, Use **l embeded user/pa** for http(s)
- pa**word = &*uot;&*uot; # Socks only
- [notifications]
- completed_torrents = 0 # id of a chat to notify when a torrent is completed. 0 to disable
- no_notification_tag = &*uot;&*uot; # if a torrent has this tag, do not send the completed download notification in the notifications chat (if set). Case insensitive. &*uot;&*uot; (empty st**ng) to disable
- added_torrents = 0 # id of a chat to notify when a new torrent is added. 0 to disable
- [*bittorrent]
- **l = &*uot;http://172.0.0.1:8080/&*uot;
- # for docker user the **l should not be 127.0.0.1 bec**se the container is connected to docker0 ne**ork
- # **l = &*uot;http://162.250.191.153:8080&*uot; # docker0 ne**ork, the 172.0.0.1 is host ip addr
- login = &*uot;登录名&*uot;
- secret = &*uot;密码&*uot;
- added_torrents_tag = &*uot;telegram bot&*uot; # a tag to add to the torrents added th**ugh the bot. &*uot;&*uot; (empty st**ng) to disable
- added_torrents_category = &*uot;&*uot; # the category to set for torrents added th**ugh the bot. &*uot;&*uot; (empty st**ng) 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],
- ]
未经允许不得转载:爱主机 » 发现个好东西*bittorrent-bot
爱主机