* Update URLs for default filters

This commit is contained in:
KizunaH 2020-08-26 00:22:16 +07:00 committed by Simon Zolin
parent c2ba8e4c09
commit facf72f774
2 changed files with 5 additions and 5 deletions

View File

@ -25,10 +25,10 @@
"source": "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt"
},
"adaway-default-blocklist": {
"name": "AdAway default blocklist",
"name": "AdAway Default Blocklist",
"categoryId": "general",
"homepage": "https://github.com/AdAway/adaway.github.io/",
"source": "https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt"
"source": "https://adaway.org/hosts.txt"
},
"peter-lowe-list": {
"name": "Peter Lowe's List",
@ -153,8 +153,8 @@
"BarbBlock": {
"name": "BarbBlock",
"categoryId": "other",
"homepage": "https://ssl.bblck.me/",
"source": "https://ssl.bblck.me/blacklists/ublock-origin.txt"
"homepage": "https://github.com/paulgb/BarbBlock/",
"source": "https://paulgb.github.io/BarbBlock/blacklists/hosts-file.txt"
}
}
}

View File

@ -60,7 +60,7 @@ func (f *Filtering) Close() {
func defaultFilters() []filter {
return []filter{
{Filter: dnsfilter.Filter{ID: 1}, Enabled: true, URL: "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt", Name: "AdGuard DNS filter"},
{Filter: dnsfilter.Filter{ID: 2}, Enabled: false, URL: "https://github.com/AdAway/adaway.github.io/blob/master/hosts.txt", Name: "AdAway"},
{Filter: dnsfilter.Filter{ID: 2}, Enabled: false, URL: "https://adaway.org/hosts.txt", Name: "AdAway Default Blocklist"},
{Filter: dnsfilter.Filter{ID: 4}, Enabled: false, URL: "https://www.malwaredomainlist.com/hostslist/hosts.txt", Name: "MalwareDomainList.com Hosts List"},
}
}