I've been using python to download torrents for some time but for about a week or more, those torrent files have stopped opening in transmission. Here is the code:
torrent = urllib2.urlopen(torrent URL, timeout = 30) output = open('mytorrent.torrent', 'wb') output.write(torrent.read())
This used to work fine in the past but now it won't load in transmission. I tried another client 'tixati' which threw up an error "error parsing meta-file". If I download the torrent file via browser, it opens fine in both clients. I've tried changing file options to
output = open('mytorrent.torrent', 'w') but the result is the same.
Anybody have any ideas?