致力于为用户提供真实的
主机测评数据及优惠信息

发现个好东西*bittorrent-bot

网友 **总统*** 说:

应该是外国人技术佬做的,能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

  1. [telegram]
  2. token = &*uot;tg机器人token&*uot;
  3. *****s = [@use**nfobot填入你的tg-id]
  4. workers = 1 # number of python-telegram-bot workers. One worker is **** than enough
  5. timeout = 120 # re*uests timeout in seconds
  6. er**rs_log_chat = 0 # chat where to post exceptions. If disabled (0), the first user id in ‘*****s’ will be used
  7. [p**xy]
  8. **l = &*uot;&*uot;        # socks5(h)://ip:port or http://user:pa**@ip:port/
  9. username = &*uot;&*uot;   # Socks only, Use **l embeded user/pa** for http(s)
  10. pa**word = &*uot;&*uot;   # Socks only
  11. [notifications]
  12. completed_torrents = 0 # id of a chat to notify when a torrent is completed. 0 to disable
  13. 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
  14. added_torrents = 0 # id of a chat to notify when a new torrent is added. 0 to disable
  15. [*bittorrent]
  16. **l = &*uot;http://172.0.0.1:8080/&*uot;
  17. # for docker user the **l should not be 127.0.0.1 bec**se the container is connected to docker0 ne**ork
  18. # **l = &*uot;http://162.250.191.153:8080&*uot; # docker0 ne**ork, the 172.0.0.1 is host ip addr
  19. login = &*uot;登录名&*uot;
  20. secret = &*uot;密码&*uot;
  21. 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
  22. added_torrents_category = &*uot;&*uot; # the category to set for torrents added th**ugh the bot. &*uot;&*uot; (empty st**ng) to disable
  23. altspeed_presets = [
  24.     # alternative speed buttons (in kb/s) to show when /overview is used. Set this to [] (empty list) to show no altspeed button
  25.     # [upload, download],
  26.     [5, 10],
  27.     [5, 50],
  28.     [5, 200],
  29. ]
赞(0) 打赏
未经允许不得转载:爱主机 » 发现个好东西*bittorrent-bot
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址