mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
✏️ typo
This commit is contained in:
parent
6abc9dfc26
commit
42a41ede6d
@ -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:]
|
||||
]
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user