【发布时间】:2013-11-13 19:29:41
【问题描述】:
我正在尝试获取 peer-list:来自 torrent 跟踪器的 IP 地址列表
与这里的问题类似:how to get the peer list from torrent tracker response
我编写了使用 python bencode Bit-torrent library 解码种子文件的代码 我在此代码here 之后编写了代码来抓取种子跟踪器。
至少对于像 mininova 跟踪器这样的 http 请求,我会得到特定 info_hash 的以下输出
{'files': {'\xbf\xff&\xcdY\x05\x9b\xb2C2j\x83\xf5F_\x9bg\x9d\xe2G': {'downloaded': 25416, 'complete': 12, 'incomplete': 0}}}
我没有看到 BitTorrent 在规范中记录的任何其他密钥 here。 (如 tracker_id、min_interval、peers ...等)
如何获取对等列表?
【问题讨论】:
标签: python scrape bittorrent tracker