Compare commits

...

39 Commits

Author SHA1 Message Date
MkQtS
3cdb699cac Add more cn domains (#3343)
* keep: add more domains

* geolocation-cn: add more payment domains
2026-03-09 13:51:10 +08:00
MkQtS
6bb4a68f2f category-dev: add cve.org (#3342) 2026-03-09 12:18:58 +08:00
TripleA
0d1c2bc257 Update category-ip-geo-detect (#3332) 2026-03-09 11:55:50 +08:00
MkQtS
8a08dcc7ed category-cdn-!cn: add cdnjs.com 2026-03-08 23:13:00 +08:00
MkQtS
61fd24725c Update jsdelivr 2026-03-08 23:13:00 +08:00
MkQtS
7e797d86ec category-dev: merge single-domain entries 2026-03-08 23:13:00 +08:00
MkQtS
910b069cc0 Update category-documents-cn (#3339)
* remove doc88 and docin

too few rules inside

* category-documents-cn: add more domains
2026-03-08 22:00:03 +08:00
MkQtS
92f9940fb7 remove knovel (#3338)
Elsevier acquired Knovel in 2013

`data/knovel` has only one domain: `knovel.com`, and it's already in
`data/elsevier`
2026-03-08 21:27:45 +08:00
allebaton
08bafd1b33 geolocation-!cn: add dynatrace.com and familysearch.org (#3337) 2026-03-08 17:17:02 +08:00
ambroyz
873495a1fd samsung: add iot domains (#3336)
Added domains required for downloading smartthings addons for wearable devices. For example, Samsung SmartTag 2.

Co-authored-by: Mikhail Brusnikin <ambroyz@gmail.com>
2026-03-07 21:33:06 +08:00
Emik
c4793eb3bf geolocation-!cn: add app-pay.jp (#3335) 2026-03-07 11:30:00 +08:00
TripleA
a32151e070 Add new ru domains (#3333) 2026-03-06 21:47:23 +08:00
JimmFly
c5db233e0b category-ai-!cn: add lovart.ai (#3334) 2026-03-06 21:44:24 +08:00
Emik
785a18e405 category-games-!cn: add muvluv-girls-garden.com (#3331) 2026-03-06 14:48:39 +08:00
MkQtS
e1943122f3 mozilla: remove two redundant subdomains and rust (#3330)
Rust now belongs to Rust Foundation, not mozilla

`*.services.mozilla.com` is overrided by `mozilla.com`, so comment them out
2026-03-06 13:12:41 +08:00
MkQtS
2a73fa8675 category-social-media-!cn: add onlyfans.com 2026-03-06 12:30:58 +08:00
MkQtS
42ff85b0a7 category-entertainment: add sendvid.com 2026-03-06 12:30:58 +08:00
MkQtS
764958ebf7 category-android-app-download: add uptodown domains 2026-03-06 12:30:58 +08:00
MkQtS
a25ac04c82 apkmirror: add apkmirror.disqus.com 2026-03-06 12:30:58 +08:00
MkQtS
168baf0e6a Update build.yml
add dlc.dat_plain.yml to release branch

[skipci]
2026-03-06 11:57:00 +08:00
TripleA
2f78f1c626 category-ip-geo-detect: add checkip.amazonaws.com (#3327) 2026-03-06 11:52:22 +08:00
Patrick Gu
ddc1e21783 Add plex list (#3319)
with notes for some confusing domains
2026-03-05 15:05:42 +08:00
Sergey Morgunov
4437fb0c51 jetbrains: add jetbrains.cloud (#3326) 2026-03-04 23:45:40 +08:00
MkQtS
d70840823b Misc updates (#3324)
* tiktok: add ttcdn-us.com

* category-entertainment-cn: add dongdianqiu.com

* geolocation-cn: add kaadas domains
2026-03-03 18:19:03 +08:00
MkQtS
5c0ddc9f24 category-entertainment-cn: add 172mix.com (#3323) 2026-03-03 17:58:20 +08:00
MkQtS
b119839e7d icloud: add icloud.cn (#3322) 2026-03-03 17:49:33 +08:00
Minwe LUO
a335e24269 category-ai-!cn: add diabrowser.engineering for Dia login (#3321) 2026-03-03 17:19:23 +08:00
wakesend
d9d97a7132 Porn updates (#3313)
- illusion is dead. remove it from other categories
- dlsite is included in both category-entertainment and category-porn, no need to include it in geolocation-!cn
- dlsite: add dlaf.jp
- add illgames
- create category-urlshortner
2026-03-03 17:16:58 +08:00
ᡠᠵᡠᡳ ᡠᠵᡠ ᠮᠠᠨᡩ᠋ᠠᠨ
deb950bb2b remove :: and 0.0.0.0 (#2780) 2026-03-02 23:47:20 +08:00
EvanLiu2000
be2ec83092 category-porn: add more domains (#3320) 2026-03-02 21:29:45 +08:00
MkQtS
6b16be4020 category-social-media-!cn: add some mastodon domains (#3318) 2026-03-02 14:48:30 +08:00
MkQtS
42aafe324e main.go: optimize attr filter (#3317)
[skip ci]
2026-03-02 14:15:40 +08:00
0-Kutya-0
882f48e486 category-ip-geo-detect: add check-host.net (#3316) 2026-03-02 13:53:25 +08:00
Ivan
614b291120 category-ru: add mil.ru (#3315)
Ministry of Defense of the Russian Federation

Co-authored-by: karspls <iaplekh@gmail.com>
2026-03-02 13:51:03 +08:00
grill-glitch
2b3211df98 geolocation-cn: add monika.love and edgemonix.top (#3314) 2026-03-02 13:43:57 +08:00
direnquanbuKO
71e31ba221 apple: mark more sub domains with cn attr (#3312)
Apple Music API endpoints
2026-02-27 17:35:44 +08:00
MkQtS
b11bfaa138 sina: add weibopay.com (#3311) 2026-02-27 13:11:31 +08:00
MkQtS
afb9e6cad0 main.go: clean up (#3310)
[skip ci]
2026-02-27 13:09:18 +08:00
Konstantin
5f7c4aa60a yandex: add yandexwebcache.net (#3308) 2026-02-27 13:03:46 +08:00
50 changed files with 216 additions and 54 deletions

View File

@@ -61,7 +61,7 @@ jobs:
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout -b release
git add *.txt *.sha256sum dlc.dat dlc.dat.zip dlc.dat.xz
git add *.txt *.sha256sum dlc.dat dlc.dat_plain.yml dlc.dat.zip dlc.dat.xz
git commit -m "${{ env.RELEASE_NAME }}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
git push -f -u origin release

View File

@@ -1 +1,3 @@
apkmirror.com
full:apkmirror.disqus.com

View File

@@ -752,6 +752,7 @@ courier-push-apple.com.akadns.net
full:amp-api-edge-lb-cn.itunes-apple.com.akadns.net @cn
full:amp-api-edge-lb.itunes-apple.com.akadns.net @cn
full:amp-api-edge.apps.apple.com @cn
full:amp-api-edge.music.apple.com @cn
full:amp-api-search-edge.apps.apple.com @cn
full:amp-api.apps.apple.com @cn
full:amp-api.music.apple.com @cn
@@ -782,6 +783,8 @@ full:js-cdn.music.apple.com @cn
full:km.support.apple.com @cn
full:maps.apple.com @cn
full:misc-assets.itunes.apple.com @cn
full:musicstatus.music.apple.com @cn
full:mvod.itunes.apple.com @cn
full:myapp.itunes.apple.com @cn
full:np-edge.itunes.apple.com @cn
full:osxapps.itunes.apple.com @cn
@@ -794,6 +797,7 @@ full:se2.itunes.apple.com @cn
full:search.itunes.apple.com @cn
full:sf-api-token-service.itunes.apple.com @cn
full:sp.itunes.apple.com @cn
full:speedysub.music.apple.com @cn
full:streamingaudio.itunes.apple.com @cn
full:su.itunes.apple.com @cn
full:sync.itunes.apple.com @cn

View File

@@ -33,10 +33,12 @@ chutes.ai
copilot.microsoft.com
devin.ai
diabrowser.com
diabrowser.engineering
dify.ai
duck.ai
gateway.ai.cloudflare.com
kiro.dev
lovart.ai
meta.ai
mistral.ai
openart.ai

View File

@@ -1,3 +1,7 @@
include:apkcombo
include:apkmirror
include:apkpure
# Uptodown
uptodown.com
utdstc.com

View File

@@ -3,6 +3,7 @@ include:cdn77
include:cloudflare
include:fastly
include:imgix
include:jsdelivr
include:limelight
include:pagecdn
include:quantil
@@ -13,3 +14,6 @@ include:vrcdn
b-cdn.net
bunny.net
bunnycdn.com
# cdnjs
cdnjs.com

View File

@@ -66,6 +66,7 @@ include:openweather
include:oracle
include:panasonic
include:pccw
include:plex
include:qnap
include:qualcomm
include:qwant

View File

@@ -33,22 +33,17 @@ include:java
include:jetbrains
include:jetbrains-ai
include:jfrog
include:jsdelivr
include:kubernetes
include:microsoft-dev
include:mongodb
include:nginx
include:nixos
include:openwrt
include:osdn
include:perl
include:polymer
include:python
include:python-community
include:qt
include:readthedocs
include:redis
include:remirepo
include:ruby
include:rust
include:redhat
@@ -59,10 +54,8 @@ include:stackexchange
include:strikingly
include:termux
include:thelinuxfoundation
include:topcoder
include:unity
include:v8
include:vim
adventofcode.com
alpinelinux.org
@@ -71,11 +64,11 @@ artixlinux.org
atom.io
badgen.net
bitvise.com
cdnjs.com
centos.org
chocolatey.org
clojure.org
cnpmjs.org
cve.org
cygwin.com
cython.org
deno.com
@@ -123,17 +116,20 @@ notepad-plus-plus.org
openresty.org
openssl.org
opensuse.org
osdn.net
packagecloud.io
packagist.org
pcre.org
phantomjs.org
php.net
piwheels.org
postgresql.org
putty.org
r-project.org
raspberrypi.org
raspbian.org
regex101.com
remirepo.net
rpmfusion.org
scientificlinux.org
scoop.sh
@@ -143,9 +139,11 @@ sqlite.org
sublimetext.com
tampermonkey.net
termius.com
topcoder.com
unpkg.com
videojs.com
videolan.org
vim.org
wapm.io
wasmer.io
webflow.com

View File

@@ -1,2 +1,13 @@
include:doc88
include:docin
1ppt.com
360doc.com
52ppt.com
badou.com
book118.com
doc88.com
docin.com
douding.cn
haohaodoc.com
lazyer.net
renrendoc.com
wenkeju.com
ypppt.com

View File

@@ -97,6 +97,7 @@ omobi.cc
oranum.com
overcast.fm
qobuz.com
sendvid.com
syosetu.com
weverse.io
yande.re

View File

@@ -44,6 +44,8 @@ ldmnq.com
lsplayer.com
yeshen.com
# 172Mix 舞曲音乐
172mix.com
# 17K小说
17k.com
# https://github.com/supzhang/epg
@@ -63,6 +65,7 @@ bsbsb.top
dmzj.com
muwai.com
# 懂球帝
dongdianqiu.com
dongqiudi.com
# 飞卢小说
faloo.com

View File

@@ -13,7 +13,7 @@ include:gaijin
include:garena
include:gog
include:hoyoverse
include:illusion
# Dead include:illusion
include:itchio
include:lowiro
include:modrinth
@@ -55,6 +55,7 @@ joinsquad.com
loverslab.com
minecraft.wiki
mobimon.com.tw
muvluv-girls-garden.com
nexus-cdn.com
nexusmods.com
noxygames.com

View File

@@ -21,6 +21,7 @@ goskey.ru # GosKey - an electronic signature on a smartphone
grfc.ru # General radio frequency center
izbirkom.ru # Information on ongoing elections and referendums
kremlin.ru # Online representation of the President of Russia
mil.ru # Ministry of Defense of the Russian Federation
nalog.ru # Federal Tax Service
xn--80ajghhoc2aj1c8b.xn--p1ai # Honest Sign - State Labeling System

View File

@@ -1,66 +1,141 @@
include:ipip
2ip.io
2ip.ru
2ip.ua
51degrees.com
abstractapi.com
apiip.net
apivoid.com
bigdatacloud.net
check-host.net
checkip.org
checkip.ru
country.is
curlmyip.net
dadata.ru
db-ip.com
extreme-ip-lookup.com
find-my-ip.com
find-my-ip.net
findip.net
flagfox.net
fraudguard.io
fraudlogix.com
freegeoip.app
freeipapi.com
geodatatool.com
geoip.noc.gov.ru
geojs.io
geolocation-db.com
geoplugin.com
geoplugin.net
getipintel.net
greip.io
hackertarget.com
httpbin.org
icanhazip.com
ident.me
ifconfig.co
ifconfig.es
ifconfig.me
ip-adress.com
ip-api.com
ip-api.io
ip-api.ru
ip-check.info
ip-score.com
ip.me
ip.sb
ip2c.org
ip2location.com
ip2location.io
ip2ruscity.com
ip4.me
ip6.me
ip6only.me
ip8.com
ipaddr.site
ipaddress.com
ipaddress.my
ipaddress.sh
ipapi.co
ipapi.com
ipapi.is
ipbase.com
ipcalf.com
ipchicken.com
ipdata.co
ipecho.net
ipfind.io
ipfinder.io
ipgeolocation.io
ipify.org
ipinfo.io
iplark.com @cn
ipleak.net
ipligence.com
iplocate.io
iplocation.com
iplocation.io
iplocation.net
ipqualityscore.com
ipquery.io
ipregistry.co
iproyal.com
ipstack.com
ipverify.com
ipw.cn @cn
ipwhois.io
ipxapi.com
l2.io
maxmind.com
mon-ip.com
monip.org
my.ipinfo.app
myexternalip.com
myip.com
myip.ms
myip.ru
myipaddress.com
myiplookup.com
mylocation.org
osint.sh
proxycheck.io
realip.cc
seeip.org
showmyip.com
showmyipaddress.com
spur.us
sxgeo.city
sypexgeo.net
tnx.nl
tracemyip.org
trustmyip.com
wgetip.com
whatismyip.com
whatismyip.net
whatismyip.org
whatismyipaddress.com
whatismyipaddress.net
whatismyisp.com
whatismyv6.com
whatsmyip.com
whatsmyip.org
where-am-i.co
whoer.net
whoerip.com
whoisxmlapi.com
wieistmeineip.de
wtfismyip.com
# Subdomains/internal api used for ip-geo-detect
full:checkip.amazonaws.com
geoip.noc.gov.ru
ip.mail.ru
ip.nic.ru
ip.tyk.nu
ipgeo.vercel.app
ipv4-internet.yandex.net
ipv6-internet.yandex.net
whois.pconline.com.cn @cn

View File

@@ -25,8 +25,9 @@ include:hentaichen
include:hentaivn
include:heyzo
include:hooligapps
include:illusion
# Dead include:illusion
include:illusion-nonofficial
include:illgames
include:jable
include:japonx
include:javbus
@@ -2700,6 +2701,7 @@ jav.guru
jav.la
jav.land
jav.place
jav.sb
jav.si
jav.wine
jav01.cc
@@ -2762,6 +2764,7 @@ javhdporn.net
javher.com
javheroine.com
javhihi.com
javhub.com
javhub.me
javhub.net
javidol.org
@@ -2795,6 +2798,7 @@ javprime.net
javpub.me
javpush.com
javqd.com
javquick.com
javrank.com
javrate.com
javrave.club

View File

@@ -8,7 +8,6 @@ include:doi
include:elsevier
include:google-scholar
include:ieee
include:knovel
include:mit
include:proquest
include:sci-hub

View File

@@ -12,4 +12,14 @@ include:threads
include:twitter
include:vk
onlyfans.com
truthsocial.com
# Mastodon
# * We can not make a comprehensive domain list of all Mastodon instances.
# * Many more dynamic/random instance domains are not listed here.
# * geosite:mastodon is not provided to avoid creating excessive expectations among users.
joinmastodon.org
mastodon.online
mastodon.social
pawoo.net

View File

@@ -0,0 +1,3 @@
include:bitly
include:shorturl
include:tinyurl

View File

@@ -16,6 +16,9 @@ miguvideo.com
# 中移金科
cmft.com.cn
# 中移支付 和包
cmpay.com
# 中移在线
cmcc-cs.cn
online-cmcc.cn

View File

@@ -1,10 +1,11 @@
include:ctexcel
189.cn
bestpay.cn
bestpay.com.cn
chinatelecom-h.com
chinatelecom.com.cn
chinatelecomglobal.com @!cn
chinatelecomhk.com @!cn
chntel.com
vnet.cn
chinatelecomhk.com @!cn

View File

@@ -18,6 +18,7 @@ cuguplus.com @!cn
cuniq.com @!cn
cuniq.sg @!cn
mychinaunicom.com
unicompayment.com
wo.cn
wo.com.cn
wo116114.com

View File

@@ -1,6 +1,7 @@
chobit.cc
ci-en.jp
ci-en.net
dlaf.jp
dlsite.com
dlsite.com.tw
dlsite.jp

View File

@@ -1 +0,0 @@
doc88.com

View File

@@ -1,2 +0,0 @@
docin.com
douding.cn

View File

@@ -65,3 +65,6 @@ supercachenode.com
ultracachenode.com
woaihuoshan.com
wohst8.com
# 抖音支付
douyinpay.com

View File

@@ -45,6 +45,8 @@ include:paypal
include:softbank
include:stripe
include:visa
## アプリペイ
app-pay.jp
# CDN companies & Services
include:category-cdn-!cn
@@ -83,7 +85,6 @@ include:embl
include:freecodecamp
include:kaggle
include:khanacademy
include:knovel
include:laracasts
include:libgen
include:lifewire
@@ -156,6 +157,7 @@ include:category-enhance-gaming
include:category-mobile-repair
include:category-ntp
include:category-password-management
include:category-urlshortner
include:category-web-archive
include:decryptipastore # iOS
@@ -170,7 +172,6 @@ include:addtoany
include:adguard
include:aptoide
include:arphic
include:bitly
include:blender
include:brightcove
include:buymeacoffee
@@ -224,7 +225,6 @@ include:sb
include:setapp
include:sharethis
include:shopify
include:shorturl
include:slideshare
include:sourceforge
include:squareup
@@ -234,7 +234,6 @@ include:svp
include:test-ipv6
include:tex
include:tidelift
include:tinyurl
include:trello
include:tumblr
include:tutanota
@@ -259,6 +258,10 @@ cookielaw.org
onetrust.com
osano.com
usercentrics.eu
## Dynatrace
dynatrace.com
## FamilySearch
familysearch.org
## Greasy Fork
greasyfork.org
## Online LaTeX Editor
@@ -308,7 +311,6 @@ wiki.gg
# Others
include:avaxhome
include:dlsite
include:espressif
include:familymart
include:fzdm

View File

@@ -45,6 +45,8 @@ include:taikang
## 航财通·校园付
cc-pay.cn
## 合利宝
helipay.com
## 徽商期货有限责任公司
hsqh.net
## 上海陆金所
@@ -53,6 +55,8 @@ lufax.com
lufaxcdn.com
## 银豹收银系统
pospal.cn
## 上海付费通
shfft.com
# CDN or SDWAN
include:category-cdn-cn
@@ -180,6 +184,10 @@ wuyou.net # 无忧启动论坛
x-station.cn # X电站
znds.com # 智能电视网
# DCC Forum心跳文学部中文论坛
edgemonix.top # 图床
monika.love
423down.com # 423Down
acwifi.net # 路由器技术分享
appinn.com # 小众软件
@@ -487,6 +495,9 @@ hlgdata.com
huanleguang.com
ttxsapp.com.cn
xsbapp.cn
# 凯迪仕
juziwulian.com
kaadas.com
# Telecommunication
include:chinabroadnet
@@ -599,7 +610,6 @@ ycrx360.com
35.com
3533.com
360aiyi.com
360doc.com
360jq.com
360zhyx.com
365azw.com
@@ -1460,7 +1470,6 @@ youxigt.com
youzu.com
yoyojie.com
yoyou.com
ypppt.com
yrz.name
yslyhr.com
ysten.com

View File

@@ -8,6 +8,7 @@ icloud-content.com
icloud-isupport.com
icloud-sandbox.com
icloud.ch
icloud.cn @cn
icloud.com
icloud.com.cn @cn
icloud.de

3
data/illgames Normal file
View File

@@ -0,0 +1,3 @@
# Also known as "Illusion"
illgames.jp
japan-illgames.com

View File

@@ -1,2 +1,3 @@
# Dead: https://en.wikipedia.org/wiki/Illusion_(company)
illusion.co.jp
illusion.jp

View File

@@ -1,13 +1,15 @@
datalore.io
intellij.com
intellij.net
intellij.org
jb.gg
jetbrains.cloud
jetbrains.com
jetbrains.net
jetbrains.space
jetbrains.team
datalore.io
kotlinlang.org
youtrack.cloud
cdn.jetbrains.com @cn
download-cdn.jetbrains.com.cn @cn
jb.gg
youtrack.cloud

View File

@@ -1,5 +1,3 @@
esm.run
jsdelivr.com
jsdelivr.net
esm.run
full:cdn.jsdelivr.net

View File

@@ -1,2 +1,5 @@
calorietech.com
gotokeep.com
keep.com
keep.com.cn
keepcdn.com

View File

@@ -1 +0,0 @@
knovel.com

View File

@@ -9,3 +9,7 @@ max.ru
memealerts.com
oneme.ru
tamtam.chat
youla.io
youla.ru
full:youla-web-static.mrgcdn.ru

View File

@@ -1,6 +1,5 @@
include:firefox
include:mdn
include:rust
mozgcp.net
mozilla.com
@@ -24,7 +23,10 @@ seamonkey-project.org
thunderbird.net
# Mozilla Location Service
location.services.mozilla.com
# * Overrided by above `mozilla.com`
# * In March 2024, Mozilla announced the project was being discontinued
#location.services.mozilla.com
# Mozilla Push Service
push.services.mozilla.com
# * Overrided by above `mozilla.com`
#push.services.mozilla.com

View File

@@ -1 +0,0 @@
nixos.org

View File

@@ -1,3 +1,6 @@
ok.ru
okcdn.ru
mycdn.me
full:st-ok-pts.cdn-vk.ru
full:st-ok.cdn-vk.ru

View File

@@ -1 +0,0 @@
osdn.net

14
data/plex Normal file
View File

@@ -0,0 +1,14 @@
# Plex Media Server domains
# Basic domains for Plex services
plex.com
plex.services
plex.tv
plexapp.com
# Note for Plex users
# * Plex's mechanism requires certain domains to go through a direct connection.
# * Using a proxy for these domains may cause the system to malfunction.
# * If you wish to access plex domains through a proxy, remember to ensure the following domains remain directly connected.
# * Related domains:
# plex.direct
# v4.plex.tv

View File

@@ -22,7 +22,6 @@ internal
# References: https://www.iana.org/assignments/locally-served-dns-zones/locally-served-dns-zones.xhtml
# https://www.rfc-editor.org/rfc/rfc6303.html
0.in-addr.arpa
2.0.192.in-addr.arpa
10.in-addr.arpa
16.172.in-addr.arpa
@@ -47,7 +46,6 @@ internal
168.192.in-addr.arpa
254.169.in-addr.arpa
255.255.255.255.in-addr.arpa
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
8.b.d.0.1.0.0.2.ip6.arpa
8.e.f.ip6.arpa

View File

@@ -1 +0,0 @@
piwheels.org

View File

@@ -1 +0,0 @@
remirepo.net

View File

@@ -19,7 +19,9 @@ samsungeshop.com.cn @cn
samsunggalaxyfriends.com
samsunghealth.com
samsungiotcloud.com
samsungiots.com
samsungknox.com
samsungosp.com
samsungqbe.com
samsungrs.com
smartthings.com

View File

@@ -19,13 +19,14 @@ th.weibo.com @!cn
tw.weibo.com @!cn
us.weibo.com @!cn
videoself.cn
wbimg.com
wbimg.cn
wbimg.com
wcdn.cn
weibo.cn
weibo.com
weibo.com.cn
weibocdn.com
weibopay.com
xhaiwai.com
# Ads/tracking

View File

@@ -20,6 +20,7 @@ tiktokv.eu @!cn
tiktokv.us @!cn
tiktokw.eu @!cn
tiktokw.us @!cn
ttcdn-us.com @!cn
ttlivecdn.com @!cn
ttoverseaus.net @!cn
ttwstatic.com @!cn

View File

@@ -1 +0,0 @@
topcoder.com

View File

@@ -1 +0,0 @@
vim.org

View File

@@ -53,6 +53,7 @@ yandexadexchange.net
yandexcloud.net
yandexcom.net
yandexmetrica.com
yandexwebcache.net
yandexwebcache.org
yastat.net
yastatic-net.ru

13
main.go
View File

@@ -263,9 +263,6 @@ func (p *Processor) loadData(listName string, path string) error {
}
func isMatchAttrFilters(entry *Entry, incFilter *Inclusion) bool {
if len(incFilter.MustAttrs) == 0 && len(incFilter.BanAttrs) == 0 {
return true
}
if len(entry.Attrs) == 0 {
return len(incFilter.MustAttrs) == 0
}
@@ -352,15 +349,13 @@ func (p *Processor) resolveList(plname string) error {
for _, dentry := range pl.Entries { // Add direct entries
roughMap[dentry.Plain] = dentry
}
for _, inc := range pl.Inclusions {
if _, exist := p.plMap[inc.Source]; !exist {
return fmt.Errorf("list %q includes a non-existent list: %q", plname, inc.Source)
}
for _, inc := range pl.Inclusions { // Add included entries
if err := p.resolveList(inc.Source); err != nil {
return err
return fmt.Errorf("failed to resolve inclusion %q: %w", inc.Source, err)
}
isFullInc := len(inc.MustAttrs) == 0 && len(inc.BanAttrs) == 0
for _, ientry := range p.finalMap[inc.Source] {
if isMatchAttrFilters(ientry, inc) { // Add included entries
if isFullInc || isMatchAttrFilters(ientry, inc) {
roughMap[ientry.Plain] = ientry
}
}