mirror of
https://github.com/Johnshall/Shadowrocket-ADBlock-Rules-Forever.git
synced 2025-12-17 23:34:48 +08:00
Update top500_manual.py
This commit is contained in:
@@ -15,7 +15,7 @@ r = requests.get(url)
|
|||||||
with open("top500Domains.csv", "wb") as code:
|
with open("top500Domains.csv", "wb") as code:
|
||||||
code.write(r.content)
|
code.write(r.content)
|
||||||
|
|
||||||
with open('top500Domains_new.csv','r') as csvfile:
|
with open('top500Domains.csv','r') as csvfile:
|
||||||
reader = csv.reader(csvfile)
|
reader = csv.reader(csvfile)
|
||||||
with open("resultant/top500_manual.list", "w") as file_domain_in:
|
with open("resultant/top500_manual.list", "w") as file_domain_in:
|
||||||
for domain_i,rows in enumerate(reader):
|
for domain_i,rows in enumerate(reader):
|
||||||
|
|||||||
Reference in New Issue
Block a user