Commit Graph

71 Commits

Author SHA1 Message Date
Matt Martz 5e0bd05c81 Deprecate speedtest_cli.py 2016-05-27 11:31:43 -05:00
Matt Martz 81182c1c94 Rename from speedtest_cli.py to speedtest.py, but maintain backwards compat with a symlink 2015-12-28 14:32:47 -06:00
Matt Martz 51014d5a70 flake8 fixes 2015-12-23 12:44:14 -06:00
Matt Martz 65145d9aae Also debug the user-agent 2015-12-23 12:29:40 -06:00
Matt Martz 308c530f07 Add hidden debug option, which prints debug information 2015-12-23 12:25:50 -06:00
Matt Martz abe85d85ff Implement cache busting 2015-12-23 12:23:42 -06:00
Matt Martz d1b1185bfc Change how we build out info from config data 2015-12-23 12:22:36 -06:00
Matt Martz 713860a4b4 Build user agent, if not built by the time build_request happens 2015-12-22 15:53:53 -06:00
Matt Martz 3f22a9d815 Move representation methods, and add __repr__ 2015-12-22 15:20:30 -06:00
Matt Martz cb6dee8a77 1st pass on 2nd attempt at modularizing the code base 2015-12-22 15:02:07 -06:00
Matt Martz 7b09d8759f Bumping to 0.3.4 2015-09-21 11:37:50 -05:00
Matt Martz 25d845362c 2015 2015-09-21 11:37:32 -05:00
Matt Martz 4b9662e0b3 Bump to 0.3.3 2015-09-21 11:26:54 -05:00
Matt Martz 0e6b85d4d5 printf requires a tuple 2015-08-19 11:36:44 -05:00
Matt Martz 6ab5f27300 Add server list URLs without -static also. Fixes #167 2015-08-19 11:35:13 -05:00
Matt Martz 514b310484 Fix missing space 2015-05-21 14:31:05 -05:00
Matt Martz 1e44e9e2f1 Always encode server info 2015-05-17 19:50:05 -05:00
Matt Martz 51d0d88b96 Bump to 0.3.3b 2015-05-15 10:03:10 -05:00
Matt Martz 47c17d4a49 Just use the global instead of calling the function again 2015-05-13 11:35:01 -05:00
Matt Martz d1be67be48 Attempt a Mozilla/5.0 compatible user-agent string 2015-04-20 09:45:02 -05:00
Matt Martz 075cfda9cf Default to http, add --secure to specify use of https 2015-04-15 16:51:08 -05:00
Matt Martz 3c04dfefd3 Switch back to http 2015-04-15 08:48:22 -05:00
Matt Martz ffd2c7f963 Add some debugging for failed http requests using catch_request 2015-03-25 09:57:00 -05:00
Matt Martz aef4a78831 missing httplib/http.client classes 2015-03-25 09:45:01 -05:00
Matt Martz 72da41e4fc fix ups for pep8 1.6 changes 2015-02-26 11:06:42 -06:00
Matt Martz 790720b33a Bump to 0.3.2 2015-02-26 10:35:55 -06:00
Matt Martz 7383ad97af Use HTTPS URLs where possible 2015-02-26 10:25:33 -06:00
Matt Martz 3cc06168f5 Don't continu elooping if the request is successful 2015-02-26 10:25:11 -06:00
Matt Martz 3ee45cace8 Better handling of HTTP exceptions, and loop through server list URLs. See #86 2015-01-16 16:06:27 -06:00
Matt Martz b0e1e58a0b s/bytes/byte/ and s/bits/bit/. Fixes #89 2014-09-02 15:06:14 -05:00
Matt Martz 60c3ec2a5e Send custom User-Agent with all http requests. See #86 2014-08-20 13:12:30 -05:00
Matt Martz 65c85a9b15 Add timeout argument 2014-08-20 13:11:30 -05:00
Matt Martz 795bc51da4 Bump version to 0.3.1 2014-08-05 12:56:05 -05:00
Matt Martz 6c8dd05872 Make sure to also catch socket.error. Fixes #87 2014-07-29 17:14:41 -05:00
Matt Martz 759ef15636 Seems some people get parser errors from c.speedtest.net, use www instead. Fixes #86 2014-07-25 08:56:23 -05:00
Matt Martz f907418e6e Bumping version to 0.3.0 2014-06-27 19:37:02 -05:00
Matt Martz fe93e9ed75 Reorder some imports 2014-06-27 19:30:22 -05:00
Matt Martz cea45762ca Some people may be relying on matching Ping, don't change this yet 2014-06-27 19:27:21 -05:00
Matt Martz 328b851a07 Merge pull request #79 from McBochi/devel
Use timeit instead of time to prevent inconsistencies in the time module with various operating systems.
2014-06-25 12:18:48 -05:00
McBochi ec21971a10 Fixes sivel/speedtest-cli#76 2014-06-25 18:26:14 +02:00
Matt Martz 3558b22de1 If we got bogus XML that can't be parsed, provide a better error message instead of a trace. Fixes #77 2014-06-25 11:06:42 -05:00
Matt Martz c0cd0d1666 Prevent a redirect and use the final URL 2014-06-25 11:06:05 -05:00
Matt Martz c1b9a0db0a Switch to httplib/http.client to allow for better timing of latency, results may be slightly higher than previous, but more reliable 2014-05-27 09:30:39 -05:00
Matt Martz f1647f2c9e Bump version to 0.2.7 2014-04-23 11:52:57 -05:00
Matt Martz 8d1cf7ac1e Bump version to 0.2.6 2014-04-23 10:22:22 -05:00
Matt Martz 23fba2520a When using --mini and no extension is found, try all of the standard upload extensions. Fixes #62 2014-04-17 16:13:55 -05:00
Matt Martz e6913368ef Support output in bytes using the --bytes argument 2014-02-26 07:34:11 -06:00
Matt Martz 2da8a26038 Bump version to 0.2.5 2014-02-17 20:16:24 -06:00
Matt Martz 6d777db198 Also catch URLError when trying to fetch latency.txt. Fixes #41 2013-12-05 13:37:56 -06:00
Matt Martz 756f04da76 Bumping version for release 2013-12-03 12:59:48 -06:00