You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fake-tracker.py 271B

1234567891011
  1. #! /usr/bin/env python
  2. import torrentfile
  3. import torrententry
  4. for file in ('torrent.torrent', 'torrent2.torrent'):
  5. torrent = torrentfile.TorrentFile()
  6. torrent.readFile(file)
  7. print torrent.getSize()
  8. print torrent.getTracker()
  9. print torrent.getHash()