diff --git a/data/ookla-speedtest b/data/ookla-speedtest deleted file mode 100644 index f2df9083..00000000 --- a/data/ookla-speedtest +++ /dev/null @@ -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 diff --git a/data/speedtest b/data/speedtest deleted file mode 100644 index af3aa87a..00000000 --- a/data/speedtest +++ /dev/null @@ -1,3 +0,0 @@ -# This tag 'speedtest' is for backward compatibility of 'geosite:speedtest' in V2Ray. - -include:ookla-speedtest