feat: blacklist

This commit is contained in:
2026-06-16 00:24:40 +02:00
parent 3df8cfffc7
commit 015eebd6ed
6 changed files with 1315 additions and 25 deletions
+3 -3
View File
@@ -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