mirror of
https://github.com/v2fly/domain-list-community.git
synced 2024-11-16 17:14:52 +02:00
Automatically generate ookla-speedtest from source
This commit is contained in:
parent
e7b6a610aa
commit
ef7bcbb44a
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -28,6 +28,12 @@ jobs:
|
||||
run: |
|
||||
go get -u -v -insecure github.com/v2ray/domain-list-community
|
||||
|
||||
- name: Automatically generate ookla-speedtest sub-list from source
|
||||
run: |
|
||||
curl -L -o servers-source.xml "https://c.speedtest.net/speedtest-servers-static.php"
|
||||
cat servers-source.xml | sed -nEe 's/.+host="(.+):[0-9]+".+/\L\1/p' | sort -u > hosts-with-ip.txt
|
||||
sed -E '/^([0-9]{1,3}\.){3}[0-9]{1,3}$/d' hosts-with-ip.txt > $GOPATH/src/github.com/v2ray/domain-list-community/data/ookla-speedtest
|
||||
|
||||
- name: Build geosite.dat file
|
||||
run: |
|
||||
domain-list-community
|
||||
|
Loading…
Reference in New Issue
Block a user