mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-12-29 19:44:14 +08:00
testing adblock list
This commit is contained in:
parent
b89e7de536
commit
caab116d5c
@ -40,13 +40,13 @@ curl -sSL $CHINA_DOMAINS_URL \
|
|||||||
> $GOPATH/src/$GEOSITE_REPO/data/chinalist
|
> $GOPATH/src/$GEOSITE_REPO/data/chinalist
|
||||||
echo -e "${GREEN}>>> Finished Chinalist ${NC}"
|
echo -e "${GREEN}>>> Finished Chinalist ${NC}"
|
||||||
|
|
||||||
echo -e "${GREEN}>>> generating AdBlock domains list...${NC}"
|
# echo -e "${GREEN}>>> generating AdBlock domains list...${NC}"
|
||||||
curl -sSL $ADBLOCK_DOMAINS_URL \
|
# curl -sSL $ADBLOCK_DOMAINS_URL \
|
||||||
| grep -Eov '^(\d{1,3}\.){3}\d{1,3}' \
|
# | grep -eov '^(\d{1,3}\.){3}\d{1,3}' \
|
||||||
| grep -Eov '^[^.]$' \
|
# | grep -eov '^[^.]$' \
|
||||||
| grep -Eo '^(([a-zA-Z0-9]+[a-zA-Z0-9-]*)+\.)+[a-zA-Z0-9]{2,}$' \
|
# | grep -eo '^(([a-zA-Z0-9]+[a-zA-Z0-9-]*)+\.)+[a-zA-Z0-9]{2,}$' \
|
||||||
> $GOPATH/src/$GEOSITE_REPO/data/adblocklist
|
# > $GOPATH/src/$GEOSITE_REPO/data/adblocklist
|
||||||
echo -e "${GREEN}>>> Finished AdBlocklist ${NC}"
|
# echo -e "${GREEN}>>> Finished AdBlocklist ${NC}"
|
||||||
|
|
||||||
echo -e "${GREEN}>>> building geosite.dat file...${NC}"
|
echo -e "${GREEN}>>> building geosite.dat file...${NC}"
|
||||||
go run main.go
|
go run main.go
|
||||||
|
Loading…
x
Reference in New Issue
Block a user