Email Addresses

The darc.proxy.mail module contains the auxiliary functions around managing and processing the email addresses.

Currently, the darc project directly save the email addresses extracted to the data storage file PATH without further processing.


Save email address.

The function will save email address to the file as defined in PATH.


link (Link) – Link object representing the email address.

Return type:


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

Path to the data storage of email addresses.

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

I/O lock for saving email addresses PATH.