Seems some people get parser errors from c.speedtest.net, use www instead. Fixes #86
This commit is contained in:
parent
f907418e6e
commit
759ef15636
|
@ -342,7 +342,7 @@ def closestServers(client, all=False):
|
||||||
distance
|
distance
|
||||||
"""
|
"""
|
||||||
|
|
||||||
uh = urlopen('http://c.speedtest.net/speedtest-servers-static.php')
|
uh = urlopen('http://www.speedtest.net/speedtest-servers-static.php')
|
||||||
serversxml = []
|
serversxml = []
|
||||||
while 1:
|
while 1:
|
||||||
serversxml.append(uh.read(10240))
|
serversxml.append(uh.read(10240))
|
||||||
|
|
Loading…
Reference in New Issue