mirror of
https://github.com/v2fly/domain-list-community.git
synced 2026-03-05 03:00:43 +07:00
Compare commits
2 Commits
2026022705
...
2026022705
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b11bfaa138 | ||
|
|
afb9e6cad0 |
@@ -19,13 +19,14 @@ th.weibo.com @!cn
|
|||||||
tw.weibo.com @!cn
|
tw.weibo.com @!cn
|
||||||
us.weibo.com @!cn
|
us.weibo.com @!cn
|
||||||
videoself.cn
|
videoself.cn
|
||||||
wbimg.com
|
|
||||||
wbimg.cn
|
wbimg.cn
|
||||||
|
wbimg.com
|
||||||
wcdn.cn
|
wcdn.cn
|
||||||
weibo.cn
|
weibo.cn
|
||||||
weibo.com
|
weibo.com
|
||||||
weibo.com.cn
|
weibo.com.cn
|
||||||
weibocdn.com
|
weibocdn.com
|
||||||
|
weibopay.com
|
||||||
xhaiwai.com
|
xhaiwai.com
|
||||||
|
|
||||||
# Ads/tracking
|
# Ads/tracking
|
||||||
|
|||||||
5
main.go
5
main.go
@@ -353,11 +353,8 @@ func (p *Processor) resolveList(plname string) error {
|
|||||||
roughMap[dentry.Plain] = dentry
|
roughMap[dentry.Plain] = dentry
|
||||||
}
|
}
|
||||||
for _, inc := range pl.Inclusions {
|
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)
|
|
||||||
}
|
|
||||||
if err := p.resolveList(inc.Source); err != nil {
|
if err := p.resolveList(inc.Source); err != nil {
|
||||||
return err
|
return fmt.Errorf("failed to resolve inclusion %q: %w", inc.Source, err)
|
||||||
}
|
}
|
||||||
for _, ientry := range p.finalMap[inc.Source] {
|
for _, ientry := range p.finalMap[inc.Source] {
|
||||||
if isMatchAttrFilters(ientry, inc) { // Add included entries
|
if isMatchAttrFilters(ientry, inc) { // Add included entries
|
||||||
|
|||||||
Reference in New Issue
Block a user