✏️ typo

This commit is contained in:
踢低吸 2023-07-18 03:00:12 +00:00
parent 6abc9dfc26
commit 42a41ede6d

View File

@ -39,14 +39,14 @@ def main():
raise
domains = dict.fromkeys([
urlparse(row['WEBURL']).hostname if row['WEBURL'].startwith('http') else urlparse('http://'+row['WEBURL']).hostname
urlparse(row['WEBURL']).hostname if row['WEBURL'].startswith('http') else urlparse('http://'+row['WEBURL']).hostname
for row in r_json[1:]
])
r = fetchdata(csvurl)
domains.update(dict.fromkeys(
[
urlparse(x.split(',')[1]).hostname if x.split(',')[1].startwith('http') else urlparse('http://'+x.split(',')[1]).hostname
urlparse(x.split(',')[1]).hostname if x.split(',')[1].startswith('http') else urlparse('http://'+x.split(',')[1]).hostname
for x in r.text.splitlines()[2:]
]
))