Set secure connection as default
Speedtest servers don't support HTTP connections anymore so I renamed the --secure parameter to --insecure and set it to False by default.
@sivel jfyi, because of this the default run no longer works:
$ speedtest-cli
Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: HTTP Error 403: Forbidden
Sorry about not mentioning it, but the reason why I submitted this PR is because (as @vaygr wrote), running speedtest-cli without any parameters doesn't work.
Can confirm that this is now an issue from where I test in UK. Been working fine without using --secure for a long time - including yesterday. But today it failed with failure to get configuration data plus 403 forbidden as reported earlier. Changed my script to run with --secure and worked immediately.
Not sure why it lets me review this PR, but I would like to see these changes merged, so there...
I don't think this works anymore
Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>