Search code examples
pythonp2pbittorrentmagnet-uri

Resolve metadata of a torrent from the hash (or the magnet link)? Ideally in python


I'm trying to take a magnet link (ie. magnet:?xt=urn:btih:640FE84C613C17F663551D218689A64E8AEBEABE) and fetch the metadata for it (title, files, comment, whatever else comes with a .torrent file). Ideally in python, but I'll take any info I can get


Solution

    1. libtorrent
    2. python bindings

    You are welcome.