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