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 (Link) – Link object representing the ED2K magnet links.

Return type:

None

darc.proxy.ed2k.PATH = '{PATH_MISC}/ed2k.txt'

Path to the data storage of bED2K magnet links.

darc.proxy.ed2k.LOCK: multiprocessing.Lock | threading.Lock | contextlib.nullcontext

I/O lock for saving ED2K magnet links PATH.