我一直在使用
python-libtorrent
来检查哪些片段属于包含多个文件的 torrent 中的一个文件。
我使用下面的代码来迭代 torrent 文件
info = libtorrent.torrent_info('~/.torrent')
for f in info.files():
print f
但这会返回
<libtorrent.file_entry object at 0x7f0eda4fdcf0>
,我不知道如何从中提取信息。
我不知道
torrent_info
属性会返回各种文件的片值信息。感谢一些帮助。