使用DHT和元数据协议将Torrent InfoHash或MagnetUri转换为.torrent文件。基于异步。
ih2torrent的Python项目详细描述
ih2torrent从infohash或 磁铁uri。它使用BitTorrent[DHT][1]和[Metadata Protocol][2] 查找Torrent的对等点并获取其元数据。
要获取virtualenv中的依赖项,请运行make。你 需要python 3.4.3或更高版本才能运行ih2torrent。注意对一些人来说 原因使用Python3.4.3时,会打印许多“异常”报告 在节目结束时。这似乎没有任何负面影响 对程序工作的影响。有了python 3.5 似乎不是什么大问题。
您可以使用pip安装ih2torrent:pip3安装ih2torrent
[1]:http://www.bittorrent.org/beps/bep_0005.html [2]:http://www.bittorrent.org/beps/bep_0009.html