TW165 新增轉址

This commit is contained in:
踢低吸 2023-07-29 19:55:18 +08:00
parent ec70ccdc54
commit a4a88038d5
2 changed files with 8 additions and 2 deletions

View File

@ -63,9 +63,11 @@ def main():
filename = 'TW165.txt'
with open(filename, 'w') as f:
f.write('^\n'.join('||' + e for e in domains.keys()))
f.write(''.join(f'||{e}^\n' for e in domains.keys()))
filename = 'TW165-redirect.txt'
with open(filename, 'w') as f:
f.write(''.join(f'||{e}^$dnsrewrite=NOERROR;A;34.102.218.71\n' for e in domains.keys()))
if __name__ == '__main__':

View File

@ -52,6 +52,10 @@ https://t.me/adblock_tw
- <https://filter.futa.gg/TW165.txt>
> 由台灣 165 反詐騙提供,並帶有覆寫功能(打開符合規則的網址後會提示已被 165 封鎖)。
- <https://filter.futa.gg/TW165-redirect.txt>
> 由台灣 165 反詐騙提供,純 domain 此為特定用途。
- <https://filter.futa.gg/TW165-domains.txt>