woob.capabilities.torrent
¶
- exception MagnetOnly(magnet)[source]¶
Bases:
UserError
Raised when trying to get URL to torrent but only magnet is available.
- class Torrent(id='', url=NotLoaded, backend=None)[source]¶
Bases:
BaseObject
Torrent object.
- Variables:
url – (
str
) urlname – (
str
) Name of torrentsize – (
float
) Size of torrentdate – (
date
,datetime
) Date when torrent has been publishedmagnet – (
str
) URI of magnetseeders – (
int
) Number of seedersleechers – (
int
) Number of leechersfiles – (
list
) Files in torrentdescription – (
str
) Description of torrentfilename – (
str
) Name of .torrent file