mirror of
https://github.com/v2fly/domain-list-community.git
synced 2026-03-07 12:10:44 +07:00
Compare commits
6 Commits
2026020406
...
2026020610
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8b474fac0 | ||
|
|
f5227519b8 | ||
|
|
b20cf00e07 | ||
|
|
027b8b3409 | ||
|
|
535dc789b9 | ||
|
|
311b281000 |
@@ -33,9 +33,17 @@ type DomainList struct {
|
|||||||
func (d *DomainRule) domain2String() string {
|
func (d *DomainRule) domain2String() string {
|
||||||
var dstr strings.Builder
|
var dstr strings.Builder
|
||||||
dstr.Grow(len(d.Type) + len(d.Value) + 10)
|
dstr.Grow(len(d.Type) + len(d.Value) + 10)
|
||||||
fmt.Fprintf(&dstr, "%s:%s", d.Type, d.Value)
|
dstr.WriteString(d.Type)
|
||||||
if len(d.Attrs) != 0 {
|
dstr.WriteByte(':')
|
||||||
fmt.Fprintf(&dstr, ":@%s", strings.Join(d.Attrs, ",@"))
|
dstr.WriteString(d.Value)
|
||||||
|
for i, attr := range d.Attrs {
|
||||||
|
if i == 0 {
|
||||||
|
dstr.WriteByte(':')
|
||||||
|
} else {
|
||||||
|
dstr.WriteByte(',')
|
||||||
|
}
|
||||||
|
dstr.WriteByte('@')
|
||||||
|
dstr.WriteString(attr)
|
||||||
}
|
}
|
||||||
return dstr.String()
|
return dstr.String()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ adservice.sigmob.cn
|
|||||||
adtechus.com
|
adtechus.com
|
||||||
adtrue.com
|
adtrue.com
|
||||||
adxprtz.com
|
adxprtz.com
|
||||||
assets.growingio.com
|
|
||||||
cdn.advertserve.com
|
cdn.advertserve.com
|
||||||
cdn.banclip.com
|
cdn.banclip.com
|
||||||
cfts1tifqr.com
|
cfts1tifqr.com
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ include:category-ads
|
|||||||
|
|
||||||
include:adjust
|
include:adjust
|
||||||
include:clearbit
|
include:clearbit
|
||||||
|
include:growingio
|
||||||
include:ogury
|
include:ogury
|
||||||
include:openx
|
include:openx
|
||||||
include:pubmatic
|
include:pubmatic
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ include:google-deepmind
|
|||||||
include:groq
|
include:groq
|
||||||
include:huggingface
|
include:huggingface
|
||||||
include:liveperson
|
include:liveperson
|
||||||
|
include:manus
|
||||||
include:openai
|
include:openai
|
||||||
include:perplexity
|
include:perplexity
|
||||||
include:poe
|
include:poe
|
||||||
|
|||||||
@@ -6,12 +6,14 @@ include:qiniu
|
|||||||
include:upai
|
include:upai
|
||||||
include:wangsu
|
include:wangsu
|
||||||
|
|
||||||
## 创世云
|
# 创世云
|
||||||
chuangcache.com
|
chuangcache.com
|
||||||
chuangcdn.com
|
chuangcdn.com
|
||||||
## FUNCDN
|
# 大风云CDN
|
||||||
|
dfyun.com.cn
|
||||||
|
# FUNCDN
|
||||||
funcdn.com
|
funcdn.com
|
||||||
## 北京知道创宇信息技术股份有限公司
|
# 北京知道创宇信息技术股份有限公司
|
||||||
jiashule.com
|
jiashule.com
|
||||||
jiasule.com
|
jiasule.com
|
||||||
yunaq.com
|
yunaq.com
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
asklink.com
|
asklink.com
|
||||||
## EasyTier
|
## EasyTier
|
||||||
easytier.cn
|
easytier.cn
|
||||||
|
## 飞衡HTTP
|
||||||
|
feihengip.com
|
||||||
## Oray
|
## Oray
|
||||||
oray.com
|
oray.com
|
||||||
oray.net
|
oray.net
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ include:tencent-dev
|
|||||||
include:ubuntukylin
|
include:ubuntukylin
|
||||||
include:unitychina
|
include:unitychina
|
||||||
|
|
||||||
|
aardio.com
|
||||||
jinrishici.com
|
jinrishici.com
|
||||||
openvela.com
|
openvela.com
|
||||||
tipdm.org
|
tipdm.org
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ baicizhan.com
|
|||||||
baicizhan.org
|
baicizhan.org
|
||||||
bczcdn.com
|
bczcdn.com
|
||||||
bczeducation.cn
|
bczeducation.cn
|
||||||
|
# 毕业之家科研服务平台
|
||||||
|
biyehome.net
|
||||||
# Burning Vocabulary
|
# Burning Vocabulary
|
||||||
burningvocabulary.cn
|
burningvocabulary.cn
|
||||||
burningvocabulary.com
|
burningvocabulary.com
|
||||||
|
|||||||
@@ -6,3 +6,7 @@ include:tianyancha
|
|||||||
qichamao.com
|
qichamao.com
|
||||||
qyyjt.cn
|
qyyjt.cn
|
||||||
x315.com
|
x315.com
|
||||||
|
|
||||||
|
# 信查查
|
||||||
|
xcc.cn
|
||||||
|
xinchacha.com
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ include:pixiv
|
|||||||
include:plutotv
|
include:plutotv
|
||||||
include:pocketcasts
|
include:pocketcasts
|
||||||
include:primevideo
|
include:primevideo
|
||||||
|
include:radiko
|
||||||
include:roku
|
include:roku
|
||||||
include:showtimeanytime
|
include:showtimeanytime
|
||||||
include:sling
|
include:sling
|
||||||
|
|||||||
@@ -78,6 +78,8 @@ freebuf.com
|
|||||||
geekpark.net
|
geekpark.net
|
||||||
# 光明网
|
# 光明网
|
||||||
gmw.com
|
gmw.com
|
||||||
|
# 硅谷网
|
||||||
|
guigu.org
|
||||||
# 和讯
|
# 和讯
|
||||||
hexun.com
|
hexun.com
|
||||||
# 河南广播电视台/大象网
|
# 河南广播电视台/大象网
|
||||||
@@ -134,6 +136,9 @@ xinhuanet.com
|
|||||||
xinhuaxmt.com
|
xinhuaxmt.com
|
||||||
# 维科网
|
# 维科网
|
||||||
ofweek.com
|
ofweek.com
|
||||||
|
# PChome电脑之家
|
||||||
|
pchome.net
|
||||||
|
pchpic.net
|
||||||
# PConline 太平洋科技
|
# PConline 太平洋科技
|
||||||
3conline.com
|
3conline.com
|
||||||
pconline.com.cn
|
pconline.com.cn
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ tieba.com
|
|||||||
dandan818.com
|
dandan818.com
|
||||||
dandanvoice.com
|
dandanvoice.com
|
||||||
|
|
||||||
|
# 饭否
|
||||||
|
fanfou.com
|
||||||
|
|
||||||
# 脉脉
|
# 脉脉
|
||||||
maimai.cn
|
maimai.cn
|
||||||
taou.com
|
taou.com
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ mbalib.com
|
|||||||
sec-wiki.com
|
sec-wiki.com
|
||||||
shidianbaike.com
|
shidianbaike.com
|
||||||
|
|
||||||
|
# 叉子周 手机博物馆
|
||||||
|
chaz.fun
|
||||||
|
|
||||||
# huijiwiki
|
# huijiwiki
|
||||||
huijistatic.com
|
huijistatic.com
|
||||||
huijiwiki.com
|
huijiwiki.com
|
||||||
|
|||||||
1
data/dji
1
data/dji
@@ -2,6 +2,7 @@ dji.com
|
|||||||
dji.ink
|
dji.ink
|
||||||
dji.net
|
dji.net
|
||||||
djicdn.com
|
djicdn.com
|
||||||
|
djigate.com
|
||||||
djiits.com
|
djiits.com
|
||||||
djiops.com
|
djiops.com
|
||||||
djiservice.org
|
djiservice.org
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ include:category-social-media-cn
|
|||||||
|
|
||||||
# Advertisment & Analytics
|
# Advertisment & Analytics
|
||||||
include:getui
|
include:getui
|
||||||
|
include:growingio
|
||||||
include:jiguang
|
include:jiguang
|
||||||
|
|
||||||
# 神策数据
|
# 神策数据
|
||||||
@@ -663,7 +664,6 @@ ycrx360.com
|
|||||||
9ht.com
|
9ht.com
|
||||||
9xu.com
|
9xu.com
|
||||||
a9vg.com
|
a9vg.com
|
||||||
aardio.com # 皖ICP备09012014号
|
|
||||||
acetaffy.club # 粤ICP备2022042304号
|
acetaffy.club # 粤ICP备2022042304号
|
||||||
adxvip.com
|
adxvip.com
|
||||||
afzhan.com
|
afzhan.com
|
||||||
@@ -719,7 +719,6 @@ bio-equip.com
|
|||||||
biodiscover.com
|
biodiscover.com
|
||||||
bishijie.com
|
bishijie.com
|
||||||
bitecoin.com
|
bitecoin.com
|
||||||
biyehome.net
|
|
||||||
bjcathay.com
|
bjcathay.com
|
||||||
bobo.com
|
bobo.com
|
||||||
bojianger.com
|
bojianger.com
|
||||||
@@ -743,7 +742,6 @@ chachaba.com
|
|||||||
changba.com
|
changba.com
|
||||||
chaojituzi.net
|
chaojituzi.net
|
||||||
chashebao.com
|
chashebao.com
|
||||||
chaz.fun # 粤ICP备2022001828号-2
|
|
||||||
chazhengla.com
|
chazhengla.com
|
||||||
chazidian.com
|
chazidian.com
|
||||||
che168.com
|
che168.com
|
||||||
@@ -879,7 +877,6 @@ fanli.com
|
|||||||
fangxiaoer.com
|
fangxiaoer.com
|
||||||
fanxian.com
|
fanxian.com
|
||||||
fastapi.net
|
fastapi.net
|
||||||
feihengip.com # 粤ICP备2023115330号-1
|
|
||||||
feihuo.com
|
feihuo.com
|
||||||
feiniaomy.com
|
feiniaomy.com
|
||||||
fengniao.com
|
fengniao.com
|
||||||
@@ -903,7 +900,6 @@ gdrc.com
|
|||||||
geektool.top # 极客Tool 蜀ICP备2024086015号-2
|
geektool.top # 极客Tool 蜀ICP备2024086015号-2
|
||||||
gezida.com
|
gezida.com
|
||||||
gfan.com
|
gfan.com
|
||||||
giocdn.com
|
|
||||||
globrand.com
|
globrand.com
|
||||||
gm86.com
|
gm86.com
|
||||||
gmz88.com
|
gmz88.com
|
||||||
@@ -914,7 +910,6 @@ gongxiangcj.com
|
|||||||
goosail.com
|
goosail.com
|
||||||
goufw.com
|
goufw.com
|
||||||
greenxiazai.com
|
greenxiazai.com
|
||||||
growingio.com
|
|
||||||
gtags.net
|
gtags.net
|
||||||
guabu.com
|
guabu.com
|
||||||
guaiguai.com
|
guaiguai.com
|
||||||
@@ -922,7 +917,6 @@ guanaitong.com
|
|||||||
guanhaobio.com
|
guanhaobio.com
|
||||||
guanyierp.com # 沪ICP备14043335号-8
|
guanyierp.com # 沪ICP备14043335号-8
|
||||||
gucheng.com
|
gucheng.com
|
||||||
guigu.org
|
|
||||||
guoxinmac.com
|
guoxinmac.com
|
||||||
gupzs.com
|
gupzs.com
|
||||||
gushiwen.org
|
gushiwen.org
|
||||||
@@ -1178,7 +1172,6 @@ p5w.net
|
|||||||
paipaibang.com
|
paipaibang.com
|
||||||
paopaoche.net
|
paopaoche.net
|
||||||
pc6.com
|
pc6.com
|
||||||
pchome.net
|
|
||||||
pcpop.com
|
pcpop.com
|
||||||
peccn.com
|
peccn.com
|
||||||
pgzs.com
|
pgzs.com
|
||||||
|
|||||||
7
data/growingio
Normal file
7
data/growingio
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# 北京易数科技
|
||||||
|
datayi.cn
|
||||||
|
gio.ren
|
||||||
|
giocdn.com
|
||||||
|
growin.cn
|
||||||
|
growingio.cn
|
||||||
|
growingio.com
|
||||||
2
data/manus
Normal file
2
data/manus
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
manus.im
|
||||||
|
manuscdn.com
|
||||||
5
data/radiko
Normal file
5
data/radiko
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# radiko official access and streaming domains
|
||||||
|
|
||||||
|
radiko-cf.com
|
||||||
|
radiko.jp
|
||||||
|
smartstream.ne.jp
|
||||||
@@ -3,6 +3,7 @@ err.sh
|
|||||||
hyper.is
|
hyper.is
|
||||||
nextjs.org
|
nextjs.org
|
||||||
now.sh
|
now.sh
|
||||||
|
skills.sh
|
||||||
static.fun
|
static.fun
|
||||||
title.sh
|
title.sh
|
||||||
turborepo.org
|
turborepo.org
|
||||||
|
|||||||
14
main.go
14
main.go
@@ -156,9 +156,17 @@ func parseEntry(line string) (Entry, error) {
|
|||||||
// Formated plain entry: type:domain.tld:@attr1,@attr2
|
// Formated plain entry: type:domain.tld:@attr1,@attr2
|
||||||
var plain strings.Builder
|
var plain strings.Builder
|
||||||
plain.Grow(len(entry.Type) + len(entry.Value) + 10)
|
plain.Grow(len(entry.Type) + len(entry.Value) + 10)
|
||||||
fmt.Fprintf(&plain, "%s:%s", entry.Type, entry.Value)
|
plain.WriteString(entry.Type)
|
||||||
if len(entry.Attrs) != 0 {
|
plain.WriteByte(':')
|
||||||
fmt.Fprintf(&plain, ":@%s", strings.Join(entry.Attrs, ",@"))
|
plain.WriteString(entry.Value)
|
||||||
|
for i, attr := range entry.Attrs {
|
||||||
|
if i == 0 {
|
||||||
|
plain.WriteByte(':')
|
||||||
|
} else {
|
||||||
|
plain.WriteByte(',')
|
||||||
|
}
|
||||||
|
plain.WriteByte('@')
|
||||||
|
plain.WriteString(attr)
|
||||||
}
|
}
|
||||||
entry.Plain = plain.String()
|
entry.Plain = plain.String()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user