Magnet Links¶
The darc.proxy.magnet module contains the auxiliary functions
around managing and processing the magnet links.
Currently, the darc project directly save the magnet
links extracted to the data storage file
PATH without further processing.
- darc.proxy.magnet.save_magnet(link)[source]¶
Save magnet link.
The function will save magnet link to the file as defined in
PATH.
- darc.proxy.magnet.PATH = '{PATH_MISC}/magnet.txt'¶
Path to the data storage of magnet links.
See also
- darc.proxy.magnet.LOCK: multiprocessing.Lock | threading.Lock | contextlib.nullcontext¶
I/O lock for saving magnet links
PATH.See also