修剪了樹葉

This commit is contained in:
観月唯 2020-08-13 23:31:14 +08:00 committed by GitHub
parent f0e2dd3522
commit c9d99aee98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ with open('../nofarm_hosts.txt', 'r') as files:
for domains in files.read().split('\n'):
if domains:
domain = domains[2:-1]
domain_list += 'google.*##div[data-hveid]:has(a[href*="//{domain}"])\n'.format(
domain_list += 'google.*##div[data-hveid]:has(a[href*="{domain}"])\n'.format(
domain=domain
)