diff --git a/tools/make_tld_list.py b/tools/make_tld_list.py index a494fec..644b207 100644 --- a/tools/make_tld_list.py +++ b/tools/make_tld_list.py @@ -12,7 +12,9 @@ def get_content(url: str) -> str: def main() -> None: - content = get_content("https://data.iana.org/TLD/tlds-alpha-by-domain.txt") + raw_content = get_content("https://data.iana.org/TLD/tlds-alpha-by-domain.txt") + lines = raw_content.split("\n") + content = "\n".join(lines[1 : len(lines)]) with open("./wordlists/discovery/tlds.txt", "w+", encoding="utf-8") as manuf_file: manuf_file.write(content) diff --git a/wordlists/discovery/tlds.txt b/wordlists/discovery/tlds.txt index d5c0822..559aca7 100644 --- a/wordlists/discovery/tlds.txt +++ b/wordlists/discovery/tlds.txt @@ -1,4 +1,3 @@ -# Version 2023101002, Last Updated Wed Oct 11 07:07:02 2023 UTC AAA AARP ABB