【问题标题】:Libtorrent, Python, how set download speedLibtorrent,Python,如何设置下载速度
【发布时间】:2014-04-30 13:24:31
【问题描述】:

有什么办法可以改变libtorrent library形式Python的下载速度?

【问题讨论】:

    标签: python libtorrent


    【解决方案1】:

    您不能“设置”下载速度,但可以限制它。这可以通过使用
    来完成 torrent_handle::set_download_limit(int limit)

    在python中:

    h = ses.add_torrent(info, "tmp")
    h.set_download_limit(2048)
    

    将您的下载速度限制为 2kB/s

    【讨论】:

      猜你喜欢
      • 2020-02-05
      • 2019-04-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多