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 pprint import pprint
>>> from mendevi.download.torrent_finder import probe_local_torrent
>>> pprint(sorted(t.name for t in probe_local_torrent()))
['colorspace.db.xz.torrent',
 'ctc.db.xz.torrent',
 'duration.db.xz.torrent',
 'multithread.db.xz.torrent',
 'ramdisk.db.xz.torrent',
 'svtav1_vs_rav1e_vs_aom.db.xz.torrent',
 'x264_vs_openh264.db.xz.torrent']
>>>