Created
October 3, 2018 20:06
-
-
Save spinza/bf2018a35b66b46f4ab6875fee44d32f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import libtorrent | |
import sys | |
info = libtorrent.torrent_info(sys.argv[1]) | |
print "magnet:?xt=urn:btih:%s&dn=%s" % (info.info_hash(), info.name()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example
Gives
You probably just need to add tracker, though DHT should find it?