【问题标题】:Is there a way to pull the complete download path of the python libtorrent module?有没有办法拉取python libtorrent模块的完整下载路径?
【发布时间】:2021-07-01 11:07:21
【问题描述】:

我尝试过使用

myvar = handle.save_path

但是当我尝试调用变量时,我得到<bound method save_path of <libtorrent.torrent_handle object at 0x7f906d3e38d0>> 怎么调用torrent的完整保存路径?

【问题讨论】:

    标签: python save torrent libtorrent


    【解决方案1】:

    假设您说“拉”和“呼叫”时的意思是“获取”(即您有一个 torrent_handle 并且您想知道它的保存路径是什么);您可以通过调用handle.status() 来请求torrent_status,并且种子状态对象有一个save_path 成员。

    已记录在 herehere

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-02-17
      • 2020-11-14
      • 1970-01-01
      • 2021-04-25
      • 2017-06-12
      • 2019-12-22
      • 2020-11-11
      • 1970-01-01
      相关资源
      最近更新 更多