Making torrentify in python