removed adblock blocks

This commit is contained in:
loyalsoldier 2019-12-11 03:40:32 +08:00
parent d1ddb676f0
commit 02d3400e89

View File

@ -39,16 +39,6 @@ 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}"
curl -sSL $ADBLOCK_DOMAINS_URL \
| grep -Eov '^(\d{1,3}\.){3}\d{1,3}' \
| grep -Eov '^[^.]+$' \
| grep -eo '^(([a-zA-Z0-9]+[a-zA-Z0-9-]*)+\.)+[a-zA-Z0-9]{2,}$' \
> $GOPATH/src/$GEOSITE_REPO/data/adblocklist
# | grep -eo '^(([a-zA-Z0-9]+[a-zA-Z0-9-]*)+\.)+[a-zA-Z0-9]{2,}$' \
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
mv dlc.dat $V2RAY_FOLDER/geosite.dat mv dlc.dat $V2RAY_FOLDER/geosite.dat