pytorrent
pytorrent copied to clipboard
a tiny python lib to parse torrent file.it can edit and dump torrent file. python的torrent解析库。
非常好用的小工具。提个小建议。 blur_test.py的第34行前后,原代码: ```python if info.has_key("path.utf-8"): paths=file["path.utf-8"] ``` 旨在修改path.utf-8属性。不过info是每个file的上级结构,这个判断肯定是False的。导致种子中记录的中文文件名并没有被修改。应该修改成: ```python if file.has_key("path.utf-8"): paths=file["path.utf-8"] ``` 实测这样就OK了。 另外建议博主在README里面提一下可以直接跑blur_test.py来修改,要不然很多人一脸懵逼啊[笑哭]
when I move it to python 3 , I can't deal with the sha part
I saw your tool and am interested to try it out. But there is no readme or examples as to how to use it. Please share an example and how...
test_blur.py 展示了使用该库实现torrent内部文件名信息的混淆工作(可以用来规避某些BT软件的审查)。