update surge2

This commit is contained in:
gently 2020-08-22 23:58:29 +08:00
parent c8af8c7e62
commit 5df850ad19
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
#DOMAIN-SET,https://anti-ad.net/surge2.txt,REJECT
#TITLE=anti-AD #TITLE=anti-AD
#VER=20200822235145 #VER=20200822235804
#URL=https://github.com/privacy-protection-tools/anti-AD #URL=https://github.com/privacy-protection-tools/anti-AD
#TOTAL_LINES=36324 #TOTAL_LINES=36324
#DOMAIN-SET,https://anti-ad.net/surge2.txt,REJECT
.00-gov.cn .00-gov.cn
.kwcdn.000dn.com .kwcdn.000dn.com
.kwcscdn.000dn.com .kwcscdn.000dn.com

View File

@ -95,7 +95,7 @@ class writerFormat{
/*Surge DOMAIN-SET格式的屏蔽广告列表*/ /*Surge DOMAIN-SET格式的屏蔽广告列表*/
const SURGE2 = array( const SURGE2 = array(
'format' => '.{DOMAIN}', 'format' => '.{DOMAIN}',
'header' => "#DOMAIN-SET,https://anti-ad.net/surge2.txt,REJECT\n#TITLE=anti-AD\n#VER={DATE}\n#URL={URL}\n#TOTAL_LINES={COUNT}\n", 'header' => "#TITLE=anti-AD\n#VER={DATE}\n#URL={URL}\n#TOTAL_LINES={COUNT}\n\n#DOMAIN-SET,https://anti-ad.net/surge2.txt,REJECT\n",
'full_domain' => 0, 'full_domain' => 0,
'name' => 'surge2', 'name' => 'surge2',
'filename' => '../anti-ad-surge2.txt', 'filename' => '../anti-ad-surge2.txt',