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.

darc.proxy.mail.save_mail(link)[source]

Save email address.

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

Parameters:

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

Return type:

None

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.