1
0
Fork 0

Automatically generate ookla-speedtest from source

pull/1/head
loyalsoldier 6 years ago
parent e7b6a610aa
commit ef7bcbb44a

@ -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…
Cancel
Save