speedtest-cli
speedtest-cli copied to clipboard
add options: --country, --city...
Hi, Please review, I add the following options:
--country
--cc (2-letter country code)
--city
--sponsor
--host
regards
Hi, trying to add an option for a log file after the testing
Doesn't seem to work:
# time speedtest-cli --cc fr
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Selecting best server in FR based on latency...
No server available for this criteria
and so on.
it is because www.speedtest.net/speedtest-servers-static.php
only return server list in your country, need to change to
https://www.speedtest.net/api/js/servers?engine=js&search=[SEARCH_CRITERIA]&https_functional=true&limit=10
the application dont searching nearest server by default, and when i request the list it find distant servers
it is because
www.speedtest.net/speedtest-servers-static.php
only return server list in your country, need to change tohttps://www.speedtest.net/api/js/servers?engine=js&search=[SEARCH_CRITERIA]&https_functional=true&limit=10
Uh, but where exactly should this be changed @ewwink ?