Merge pull request #286 from Loyalsoldier/remove-speedtest

Remove speedtest due to #285. Fixes #285
This commit is contained in:
Kslr 2020-04-06 00:41:17 +08:00 committed by GitHub
commit e32765570f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 37 deletions

View File

@ -1,34 +0,0 @@
# Source: https://c.speedtest.net/speedtest-servers-static.php
#
# Ookla-speedtest hosts are now generated automatically when generating dlc.dat file.
#
# You can also generate manually with following Javascript code:
# let servers = [];
# document.querySelectorAll('server').forEach(s => {
# let v = s.attributes.host.value;
# if (v) {
# v = v.split(":")[0].toLowerCase();
# servers.push(v);
# }
# });
# servers = servers.filter((s, pos) => {
# if (!/^(\d{1,3}\.){3}\d{1,3}$/.test(s)) {
# return servers.indexOf(s) === pos;
# } else {
# return false;
# }
# });
# servers.sort();
# let output = "";
# servers.forEach(s => {
# output += "full:" + s + "\n";
# });
# console.log(output);
#
# Or you can generate manually with following sh code:
# 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
# Do not remove the following line
include:ookla-speedtest-ads

View File

@ -1,3 +0,0 @@
# This tag 'speedtest' is for backward compatibility of 'geosite:speedtest' in V2Ray.
include:ookla-speedtest