使用transmission下载BT

安装

  • OS X

>>> brew install transmission
  • Ubuntu1

>>> sudo add-apt-repository ppa:transmissionbt/ppa
>>> sudo apt update
>>> sudo apt install transmission-daemon

使用

# 启动
>>> transmission-daemon
# 添加下载任务
>>> transmission-remote -a 'magnet:?xt=urn:btih:xxxxxxxxxxxxxxx'
# 列出下载任务
>>> transmission-remote -l
ID     Done       Have  ETA           Up    Down  Ratio  Status       Name
   4    n/a       None  Unknown      0.0     0.0   None  Idle         xxxx.2019.BD1080P.国语中字
Sum:              None               0.0     0.0
# 启动守护进程服务
>>> sudo service transmission-daemon start
# 停止守护进程服务
>>> sudo service transmission-daemon stop

浏览器打开http://localhost:9091/transmission/web/
切记地址最后面的斜杠要带上2,否则会报错:

409: Conflict
Your request had an invalid session-id header.

To fix this, follow these steps:

When reading a response, get its X-Transmission-Session-Id header and remember it
Add the updated header to your outgoing requests
When you get this 409 error message, resend your request with the updated header
This requirement has been added to help prevent CSRF attacks.

X-Transmission-Session-Id: JnRPpYcnhxayGyaiePU5IWdmezMtzY7z0yxuqcKh5t6PojLs

在国内与迅雷相比,还是有些差距,同样的资源,transmission一直没有速度,而迅雷。。。
在这里插入图片描述


  1. https://www.timelate.com/archives/install-transmission-on-ubuntu.html ↩︎

  2. https://www.zashuo.me/?p=176 ↩︎

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值