generate ookla-speedtest via go
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -31,11 +31,6 @@ jobs:
|
||||
run: |
|
||||
go get -u -v -insecure $REPO_URL
|
||||
|
||||
- name: Automatically generate ookla-speedtest sub-list from source
|
||||
run: |
|
||||
curl -L -o servers-source.xml "https://c.speedtest.net/speedtest-servers-static.php" -H 'Accept-Encoding: gzip' --compressed
|
||||
perl -ne '/host="(.+):[0-9]+"/ && print "full:$1\n"' servers-source.xml | perl -ne 'print if not /^(full:([0-9]{1,3}\.){3}[0-9]{1,3})$/' | perl -ne 'print lc' | sort --ignore-case -u >> $GOPATH/src/$REPO_URL/data/ookla-speedtest
|
||||
|
||||
- name: Build geosite.dat file
|
||||
run: |
|
||||
domain-list-community
|
||||
|
Reference in New Issue
Block a user