變ㄉ像大樹一樣

This commit is contained in:
観月唯 2020-08-13 23:15:00 +08:00 committed by GitHub
parent 34f0011976
commit 5faf5f6fca
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.g:has(a[href*="{domain}"])\n'.format(
domain_list += 'google.*##div[data-hveid]:has(a[href*="//{domain}"])\n'.format(
domain=domain
)