feat: blacklist
This commit is contained in:
@@ -5,8 +5,8 @@ import pathlib
|
||||
import tempfile
|
||||
import typing
|
||||
|
||||
from . import PKG_NAME
|
||||
from .constants import LANGS
|
||||
from cool_domain import PKG_NAME
|
||||
from cool_domain.constants import LANGS
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True, slots=True)
|
||||
@@ -19,7 +19,7 @@ class Parameters:
|
||||
dig: bool = True
|
||||
lang: str = "english"
|
||||
cache_file: str = str(pathlib.Path(tempfile.gettempdir()) / ".cool-domain-cache")
|
||||
tld_list_uri: str = "https://publicsuffix.org/list/public_suffix_list.dat"
|
||||
tld_list_uri: str = "https://data.iana.org/TLD/tlds-alpha-by-domain.txt"
|
||||
custom_words: str = "words.txt"
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user