Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
1234567891011 |
- #! /usr/bin/env python
-
- import torrentfile
- import torrententry
-
- for file in ('torrent.torrent', 'torrent2.torrent'):
- torrent = torrentfile.TorrentFile()
- torrent.readFile(file)
- print torrent.getSize()
- print torrent.getTracker()
- print torrent.getHash()
|