mendevi.download.torrent_finder.probe_local_torrent

mendevi.download.torrent_finder.probe_local_torrent() set[Path][source]

Search for the names of locally accessible torrents (if the mendevi repository is cloned).

Returns

torrentsset[pathlib.Path]

Provide all the local torrent files.

Examples

>>> from mendevi.download.torrent_finder import probe_local_torrent
>>> sorted(t.name for t in probe_local_torrent())
['duration.db.xz.torrent', 'multithread.db.xz.torrent', 'x264_vs_openh264.db.xz.torrent']
>>>