In the past few days it started failing to work with this error message result
Retrieving speedtest.net configuration...
Traceback (most recent call last):
File "/opt/local/bin/speedtest-cli", line 33, in <module>
sys.exit(load_entry_point('speedtest-cli==2.1.2', 'console_scripts',
'speedtest-cli')())
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/speedtest.py",
line 1986, in main
shell()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/speedtest.py",
line 1872, in shell
speedtest = Speedtest(
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/speedtest.py",
line 1091, in __init__
self.get_config()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/speedtest.py",
line 1173, in get_config
ignore_servers = list(
ValueError: invalid literal for int() with base 10: '':
--
XR