Skip to content

Commit

Permalink
Add Bilibili ip
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuu518 committed Nov 20, 2024
1 parent 6ccbb8a commit 8b91be3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
cp GeoLite2-Country-CSV_*/*.csv ./geolite2/
cp GeoLite2-ASN-CSV_*/*.csv ./geolite2/
- name: Append more CIDRs
run: |
mkdir -p data
curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Loon/BiliBili/BiliBili_Resolve.list | grep IP-CIDR, | sed 's/IP-CIDR,//g' > data/bilibili
- name: Build geoip files
run: |
go build ./
Expand Down
8 changes: 8 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
"uri": "https://raw.githubusercontent.com/DH-Teams/DH-Geo_AS_IP_CN/main/Geo_AS_IP_CN_All.txt"
}
},
{
"type": "text",
"action": "add",
"args": {
"name": "bilibili",
"uri": "./data/bilibili"
}
},
{
"type": "text",
"action": "add",
Expand Down

0 comments on commit 8b91be3

Please sign in to comment.