mirror of
https://github.com/v2fly/domain-list-community.git
synced 2025-12-21 01:50:05 +07:00
Compare commits
15 Commits
2025121617
...
2025122012
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d014f46c20 | ||
|
|
6f3acc3ba9 | ||
|
|
24c2f80f91 | ||
|
|
c9cdb42bf0 | ||
|
|
425c41c171 | ||
|
|
7ab6c29b3c | ||
|
|
c8cd35ba7d | ||
|
|
6ff83936c8 | ||
|
|
29b004bf5d | ||
|
|
fc2dd61aef | ||
|
|
0e606f9cd5 | ||
|
|
3811a70a5b | ||
|
|
f2bef41767 | ||
|
|
3747b46453 | ||
|
|
fecad9d4c0 |
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -5,6 +5,11 @@ on:
|
||||
- master
|
||||
paths-ignore:
|
||||
- "**/README.md"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
|
||||
3
data/askdiandian
Normal file
3
data/askdiandian
Normal file
@@ -0,0 +1,3 @@
|
||||
# 点点 Ai
|
||||
askdiandian.com
|
||||
diandianlife.top
|
||||
1
data/aws
1
data/aws
@@ -22,6 +22,7 @@ amplifyapp.com
|
||||
amplifyframework.com
|
||||
aws-iot-hackathon.com
|
||||
aws.com
|
||||
aws.dev
|
||||
awsapprunner.com
|
||||
awsapps.com
|
||||
awsautopilot.com
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
include:zuoyebang-ads
|
||||
|
||||
adscdn.baidu.com @ads
|
||||
adx.xiaodutv.com @ads
|
||||
afd.baidu.com @ads
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# DeepSeek
|
||||
include:askdiandian
|
||||
include:deepseek
|
||||
include:doubao
|
||||
include:trae # MarsCode
|
||||
include:xiaomi-ai
|
||||
|
||||
# RWKV
|
||||
rwkv.cn
|
||||
@@ -19,10 +22,6 @@ yiyan.baidu.com
|
||||
# 天工AI
|
||||
tiangong.cn
|
||||
|
||||
# 字节跳动:豆包、Trae(MarsCode)
|
||||
include:doubao
|
||||
include:trae
|
||||
|
||||
# 智谱清言
|
||||
bigmodel.cn
|
||||
chatglm.cn
|
||||
|
||||
@@ -20,4 +20,5 @@ include:tencent-dev
|
||||
include:ubuntukylin
|
||||
|
||||
jinrishici.com
|
||||
openvela.com
|
||||
tipdm.org
|
||||
|
||||
@@ -19,6 +19,7 @@ include:copymanga
|
||||
include:dailymotion
|
||||
include:dandanzan
|
||||
include:dazn
|
||||
include:deezer
|
||||
include:deviantart
|
||||
include:discoveryplus
|
||||
include:disney
|
||||
|
||||
@@ -362,6 +362,7 @@ full:cache8-waw1.steamcontent.com
|
||||
full:cache9-atl3.steamcontent.com
|
||||
full:cache9-fra1.steamcontent.com
|
||||
full:cache9-fra2.steamcontent.com
|
||||
full:cache9-hkg1.steamcontent.com
|
||||
full:cache9-iad1.steamcontent.com
|
||||
full:cache9-lax1.steamcontent.com
|
||||
full:cache9-lhr1.steamcontent.com
|
||||
|
||||
2
data/deezer
Normal file
2
data/deezer
Normal file
@@ -0,0 +1,2 @@
|
||||
deezer.com
|
||||
dzcdn.net
|
||||
@@ -322,5 +322,5 @@ include:windy
|
||||
include:xdty
|
||||
include:xingrz
|
||||
|
||||
# 沉浸式翻译
|
||||
# 沉浸式翻译 (国际版)
|
||||
immersivetranslate.com
|
||||
|
||||
@@ -48,6 +48,8 @@ hsqh.net
|
||||
lu.com
|
||||
lufax.com
|
||||
lufaxcdn.com
|
||||
## 银豹收银系统
|
||||
pospal.cn
|
||||
|
||||
# CDN or SDWAN
|
||||
include:aws-cn
|
||||
@@ -196,6 +198,8 @@ winos.me # WINOS 精简社区
|
||||
|
||||
# Healthcare
|
||||
include:category-hospital-cn
|
||||
## 安徽药品人才网
|
||||
ahfda.com
|
||||
## 丁香园
|
||||
biomart.cn
|
||||
dxy.com
|
||||
@@ -301,6 +305,7 @@ include:linakesi
|
||||
include:mafengwo
|
||||
include:meitu
|
||||
include:moji
|
||||
include:moonvy
|
||||
include:nowcoder
|
||||
include:polyv
|
||||
include:qweather
|
||||
@@ -347,6 +352,8 @@ i8tq.com
|
||||
tq121.com.cn
|
||||
weather.com.cn
|
||||
weatherdt.com
|
||||
## 沉浸式翻译 (中国版)
|
||||
immersivetranslate.cn
|
||||
## 掌阅
|
||||
ireader.com
|
||||
zhangyue.com
|
||||
|
||||
@@ -35,3 +35,7 @@ aisandbox-pa.googleapis.com
|
||||
|
||||
# Android Studio Gemini Code Assist
|
||||
aida.googleapis.com
|
||||
|
||||
# Opal
|
||||
opal.google
|
||||
opal.google.com
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
# TGC Taiwan Inc.
|
||||
litv.tv
|
||||
litvfreepc.akamaized.net
|
||||
full:ntdfreemobile-tgc.cdn.hinet.net
|
||||
full:ntdfreepc-tgc.cdn.hinet.net
|
||||
full:ntdfreetv-tgc.cdn.hinet.net
|
||||
full:ntdfreevcpc-tgc.cdn.hinet.net
|
||||
|
||||
ofiii.com
|
||||
full:ntdofifreemobile-tgc.cdn.hinet.net
|
||||
full:ntdofifreepc-tgc.cdn.hinet.net
|
||||
full:ntdofifreetv-tgc.cdn.hinet.net
|
||||
full:ntdofifreevcpc-tgc.cdn.hinet.net
|
||||
|
||||
3
data/moonvy
Normal file
3
data/moonvy
Normal file
@@ -0,0 +1,3 @@
|
||||
# 月维设计管理
|
||||
moonvy.com
|
||||
moonvy.cool
|
||||
@@ -1,3 +1,6 @@
|
||||
include:askdiandian
|
||||
|
||||
xhscdn.com
|
||||
xhscdn.net
|
||||
xhslink.com
|
||||
xiaohongshu.com
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
include:xiaomi-ads
|
||||
include:xiaomi-ai
|
||||
|
||||
mgslb.com
|
||||
mi-idc.com
|
||||
|
||||
3
data/xiaomi-ai
Normal file
3
data/xiaomi-ai
Normal file
@@ -0,0 +1,3 @@
|
||||
miaibox.com
|
||||
xiaoaiassist.com
|
||||
xiaomimimo.com
|
||||
@@ -1,3 +1,5 @@
|
||||
include:zuoyebang-ads
|
||||
|
||||
zuoyebang.cc
|
||||
zuoyebang.com
|
||||
zybang.com
|
||||
|
||||
1
data/zuoyebang-ads
Normal file
1
data/zuoyebang-ads
Normal file
@@ -0,0 +1 @@
|
||||
syh.zybang.com @ads
|
||||
17
main.go
17
main.go
@@ -8,7 +8,6 @@ import (
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
router "github.com/v2fly/v2ray-core/v5/app/router/routercommon"
|
||||
@@ -161,20 +160,8 @@ func parseAttribute(attr string) (*router.Domain_Attribute, error) {
|
||||
return &attribute, fmt.Errorf("invalid attribute: %s", attr)
|
||||
}
|
||||
|
||||
// Trim attribute prefix `@` character
|
||||
attr = attr[1:]
|
||||
parts := strings.Split(attr, "=")
|
||||
if len(parts) == 1 {
|
||||
attribute.Key = strings.ToLower(parts[0])
|
||||
attribute.TypedValue = &router.Domain_Attribute_BoolValue{BoolValue: true}
|
||||
} else {
|
||||
attribute.Key = strings.ToLower(parts[0])
|
||||
intv, err := strconv.Atoi(parts[1])
|
||||
if err != nil {
|
||||
return &attribute, fmt.Errorf("invalid attribute: %s: %v", attr, err)
|
||||
}
|
||||
attribute.TypedValue = &router.Domain_Attribute_IntValue{IntValue: int64(intv)}
|
||||
}
|
||||
attribute.Key = strings.ToLower(attr[1:]) // Trim attribute prefix `@` character
|
||||
attribute.TypedValue = &router.Domain_Attribute_BoolValue{BoolValue: true}
|
||||
return &attribute, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user