mirror of
https://github.com/v2fly/domain-list-community.git
synced 2026-03-22 19:37:53 +07:00
Compare commits
4 Commits
2026032002
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa76e186cb | ||
|
|
c9348f1db4 | ||
|
|
d62599c8db | ||
|
|
fab6275217 |
@@ -86,6 +86,8 @@ Each file in the `data` directory can be used as a rule in this format: `geosite
|
||||
|
||||
Run `go run ./ --help` for more usage information.
|
||||
|
||||
For anyone who wants to generate custom `.dat` files, you may read [#3370](https://github.com/v2fly/domain-list-community/discussions/3370).
|
||||
|
||||
## Structure of data
|
||||
|
||||
All data are under `data` directory. Each file in the directory represents a sub-list of domains, named by the file name. File content is in the following format.
|
||||
@@ -105,7 +107,7 @@ regexp:^odd[1-7]\.example\.org(\.[a-z]{2})?$
|
||||
> Adding new `regexp` and `keyword` rules is discouraged because it is easy to use them incorrectly, and proxy software cannot efficiently match these types of rules.
|
||||
|
||||
> [!NOTE]
|
||||
> The following types of rules are **NOT** fully compatible with the ones that defined by user in V2Ray config file. Do **Not** copy and paste directly.
|
||||
> The following types of rules are **NOT** fully compatible with the ones that defined by user in V2Ray config file. Do **NOT** copy and paste directly.
|
||||
|
||||
- Comment begins with `#`. It may begin anywhere in the file. The content in the line after `#` is treated as comment and ignored in production.
|
||||
- Subdomain begins with `domain:`, followed by a valid domain name. The prefix `domain:` may be omitted.
|
||||
@@ -114,7 +116,7 @@ regexp:^odd[1-7]\.example\.org(\.[a-z]{2})?$
|
||||
- Regular expression begins with `regexp:`, followed by a valid regular expression (per Golang's standard).
|
||||
- Domain rules (including `domain`, `full`, `keyword`, and `regexp`) may have none, one or more attributes. Each attribute begins with `@` and followed by the name of the attribute. Attributes will remain available in final lists and `dlc.dat`.
|
||||
- Domain rules may have none, one or more affiliations, which additionally adds the domain rule into the affiliated target list. Each affiliation begins with `&` and followed by the name of the target list (nomatter whether the target has a dedicated file in data path). This is a method for data management, and will not remain in the final lists or `dlc.dat`.
|
||||
- Inclusion begins with `include:`, followed by the name of another valid domain list. A simple `include:listb` in file `lista` means adding all domain rules of `listb` into `lista`. Inclusions with attributes stands for selective inclusion. `include:listb @attr1 @-attr2` means only adding those domain rules *with* `@attr1` **and** *without* `@attr2`. This is a special type for data management, and will not remain in the final lists or `dlc.dat`.
|
||||
- Inclusion begins with `include:`, followed by the name of another valid domain list. `include:listb` in file `lista` means adding all domain rules of `listb` into `lista`. Inclusions with attributes stand for selective inclusion. `include:listb @attr1 @-attr2` means only adding those domain rules *with* `@attr1` **and** *without* `@attr2`. This is a special type for data management, and will not remain in the final lists or `dlc.dat`.
|
||||
|
||||
## How it works
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
# Game
|
||||
bestdori.com
|
||||
colorfulstage.com
|
||||
|
||||
# Idol
|
||||
|
||||
@@ -91,6 +91,7 @@ eoffcn.com
|
||||
jinrongren.net
|
||||
offcn.com
|
||||
zggqzp.com
|
||||
zgjsks.com
|
||||
zgsydw.com
|
||||
# 高考100
|
||||
gk100.com
|
||||
@@ -105,6 +106,9 @@ xir.cn
|
||||
# 日语测试
|
||||
j-test.com
|
||||
nattest-china.com
|
||||
# 菁优网
|
||||
jyeoo.com
|
||||
jyeoo.net
|
||||
# 课播云校
|
||||
keboyunxiao.com
|
||||
# 课堂派
|
||||
|
||||
@@ -97,6 +97,7 @@ myexternalip.com
|
||||
myip.com
|
||||
myip.ms
|
||||
myip.ru
|
||||
myip.wtf
|
||||
myipaddress.com
|
||||
myiplookup.com
|
||||
mylocation.org
|
||||
|
||||
@@ -135,6 +135,10 @@ kksmg.com
|
||||
statickksmg.com
|
||||
# 晚点
|
||||
latepost.com
|
||||
# 雷科技
|
||||
leikeji.com
|
||||
# 雷峰网
|
||||
leiphone.com
|
||||
# 今日观察网
|
||||
miercn.com
|
||||
# 快科技
|
||||
@@ -206,14 +210,21 @@ techweb.com.cn
|
||||
thecover.cn
|
||||
# 澎湃新闻
|
||||
thepaper.cn
|
||||
# 潮新闻/浙江日报
|
||||
8531.cn
|
||||
tidenews.com.cn
|
||||
# 人人都是产品经理
|
||||
woshipm.com
|
||||
# 新华日报
|
||||
xhby.net
|
||||
# 西陆网
|
||||
xilu.com
|
||||
# 新快报
|
||||
xkb.com.cn
|
||||
# 第一财经
|
||||
yicai.com
|
||||
# 扬子晚报
|
||||
yzwb.net
|
||||
# ZEALER
|
||||
zealer.com
|
||||
# 知产力
|
||||
|
||||
@@ -222,8 +222,12 @@ mingxuan.store
|
||||
gov.cn
|
||||
## 中国气象局
|
||||
cma.cn
|
||||
## 政务和公益机构域名注册管理中心
|
||||
conac.cn
|
||||
## 中央气象台
|
||||
nmc.cn
|
||||
## 中国互联网联合辟谣平台
|
||||
piyao.org.cn
|
||||
|
||||
# Public transportation
|
||||
## 中国国际航空
|
||||
@@ -321,14 +325,14 @@ webterren.com
|
||||
## 国学大师网
|
||||
guoxuedashi.com
|
||||
guoxuemi.com
|
||||
## 志愿汇
|
||||
zyh365.com
|
||||
## 温州市图书馆
|
||||
wzlib.cn
|
||||
## 中国大百科全书
|
||||
zgbk.com
|
||||
## 浙江图书馆
|
||||
zjlib.cn
|
||||
## 志愿汇
|
||||
zyh365.com
|
||||
|
||||
# Services & Softwares
|
||||
include:category-ai-cn
|
||||
@@ -1116,8 +1120,6 @@ lascn.net
|
||||
lawxp.com
|
||||
leangoo.com
|
||||
leanote.com
|
||||
leikeji.com
|
||||
leiphone.com
|
||||
leiting.com
|
||||
leju.com
|
||||
leturich.org
|
||||
@@ -1398,7 +1400,6 @@ weand.com
|
||||
weavatar.com
|
||||
weicaifu.com
|
||||
weilaicaijing.com
|
||||
weiphone.net
|
||||
weixing.com
|
||||
weiyangx.com
|
||||
welltrend-edu.com
|
||||
@@ -1527,7 +1528,6 @@ zastatic.com
|
||||
zczj.com
|
||||
zdfans.com
|
||||
zgjm.org
|
||||
zgjsks.com
|
||||
zglxw.com
|
||||
zgzcw.com
|
||||
zhanbuba.com
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
feng.com
|
||||
fengimg.com
|
||||
weiphone.net
|
||||
wfdata.club
|
||||
|
||||
Reference in New Issue
Block a user