mendevi.download.torrent_finder.get_torrent

mendevi.download.torrent_finder.get_torrent(name: str) Path[source]

Retrieve a torrent from its full name.

Parameters

namestr

The full torrent name, for example “multithread.db.xz.torrent”.

Returns

pathpathlib.Path

The full path of the torrent.

Raises

KeyError

If the requested torrent is not included in the list of possible torrents.