Skip to content

Commit

Permalink
fix: Remove comment in TLD file (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrypt0nn authored Oct 12, 2023
1 parent a241216 commit e97f3a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tools/make_tld_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion wordlists/discovery/tlds.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Version 2023101002, Last Updated Wed Oct 11 07:07:02 2023 UTC
AAA
AARP
ABB
Expand Down

0 comments on commit e97f3a1

Please sign in to comment.