Update builder.py

This commit is contained in:
踢低吸 2023-07-10 18:07:36 +08:00 committed by GitHub
parent 96075ed9b3
commit 9383f2bc09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ for category in filterlist:
newoutput = '\n'.join(re.findall(pattern, newdata, re.MULTILINE))
print(newoutput)
output.write(newoutput)
if filename in ['TW165.txt']:
if filename in ['TW165.txt', 'hosts.txt']:
to_pure_domain(filename, data)
# if filename == 'hosts.txt':