Convert a torrent infohash or magnet URI to a .torrent file using DHT and metadata protocol. Asyncio based.


Keywords
bittorrent, torrent, infohash, magnet, dht, metadata, metainfo, asyncio
License
GPL-2.0+
Install
pip install ih2torrent==0.1.16

Documentation

ih2torrent

ih2torrent creates a trackerless torrent file from an infohash or a magnet URI. It uses BitTorrent DHT and the metadata protocol to find peers for the torrent and obtain its metadata.

In order to get the dependencies inside a virtualenv, run make. You need Python 3.5 or higher to run ih2torrent.

You can use pip to install ih2torrent: pip3 install ih2torrent