diff --git a/README.rst b/README.rst index 5add316..1023846 100644 --- a/README.rst +++ b/README.rst @@ -34,7 +34,7 @@ Parameters :code:`check_format`: check whether the email address has a valid structure; defaults to :code:`True` -:code:`check_blacklist`: check the email against the blacklist of domains downloaded from https://github.com/martenson/disposable-email-domains; defaults to :code:`True` +:code:`check_blacklist`: check the email against the blacklist of domains downloaded from https://github.com/disposable-email-domains/disposable-email-domains; defaults to :code:`True` :code:`check_dns`: check the DNS mx-records, defaults to :code:`True` @@ -90,7 +90,7 @@ Check whether the given email address conforms to the general format requirement Check whether the domain part of the given email address (the part behind the "@") is known as a disposable and temporary email address domain. These are often used to register dummy users in order to spam or abuse some services. -A list of such domains is maintained at https://github.com/martenson/disposable-email-domains, and this module uses that list. +A list of such domains is maintained at https://github.com/disposable-email-domains/disposable-email-domains, and this module uses that list. :code:`validate_email_or_fail()` raises :code:`DomainBlacklistedError` if the email address belongs to a blacklisted domain. diff --git a/validate_email/exceptions.py b/validate_email/exceptions.py index 370b3b5..bc3ef6a 100644 --- a/validate_email/exceptions.py +++ b/validate_email/exceptions.py @@ -39,7 +39,7 @@ class AddressFormatError(EmailValidationError): class DomainBlacklistedError(EmailValidationError): """ Raised when the domain of the email address is blacklisted on - https://github.com/martenson/disposable-email-domains. + https://github.com/disposable-email-domains/disposable-email-domains. """ message = 'Domain blacklisted.' diff --git a/validate_email/updater.py b/validate_email/updater.py index 5da0c5b..39159f3 100644 --- a/validate_email/updater.py +++ b/validate_email/updater.py @@ -21,7 +21,7 @@ TMP_PATH = Path(gettempdir()).joinpath( f'{gettempprefix()}-py3-validate-email-{geteuid()}') TMP_PATH.mkdir(exist_ok=True) BLACKLIST_URL = ( - 'https://raw.githubusercontent.com/martenson/disposable-email-domains/' + 'https://github.com/disposable-email-domains/disposable-email-domains/' 'master/disposable_email_blocklist.conf') LIB_PATH_DEFAULT = Path(__file__).resolve().parent.joinpath('data') BLACKLIST_FILEPATH_INSTALLED = LIB_PATH_DEFAULT.joinpath('blacklist.txt')