#Objective:
Gets all server list from speedtest.net. Runs speed test on each of them from your nearest speedtest server and writes the result (servername, serverID,downloadspeed,uploadspeed,latency,distanceinKM) to a csv file.
#Requirements: requires python speedtest-cli installed 'pip install speedtest-cli'
refer:https://github.com/sivel/speedtest-cli
#Installation & Execution: Change default("speedtest_data.csv") CSV filename python speedtest_parsing.py
You can also provide a list of countries in a csv file along with a csv file to store the speedtest results. example csv file and result file is in the repo
python speetest_parse.py countrylist.csv fullresult.csv
Note that there might be many servers for a given country hence a capital list (column 6 in countrylist.csv) will narrow down the server.