fix: Remove comment in TLD file (#18)
This commit is contained in:
4
tools/make_tld_list.py
vendored
4
tools/make_tld_list.py
vendored
@@ -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)
|
||||
|
||||
|
||||
1
wordlists/discovery/tlds.txt
vendored
1
wordlists/discovery/tlds.txt
vendored
@@ -1,4 +1,3 @@
|
||||
# Version 2023101002, Last Updated Wed Oct 11 07:07:02 2023 UTC
|
||||
AAA
|
||||
AARP
|
||||
ABB
|
||||
|
||||
Reference in New Issue
Block a user