fix: Remove comment in TLD file (#18)

This commit is contained in:
Krypton
2023-10-12 13:30:36 +02:00
committed by GitHub
parent a241216d2b
commit e97f3a1f72
2 changed files with 3 additions and 2 deletions

View File

@@ -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)

View File

@@ -1,4 +1,3 @@
# Version 2023101002, Last Updated Wed Oct 11 07:07:02 2023 UTC
AAA
AARP
ABB