Fix 2 server URLs and add notes for all 4

This commit is contained in:
OurFlagIsMined 2016-09-08 21:15:06 -04:00
parent 7b09d8759f
commit 7418d2204b
1 changed files with 11 additions and 3 deletions

View File

@ -417,10 +417,18 @@ def closestServers(client, all=False):
"""
urls = [
'://www.speedtest.net/speedtest-servers-static.php',
'://c.speedtest.net/speedtest-servers-static.php',
# '://www.speedtest.net/speedtest-servers-static.php',
'://www.speedtest.net/speedtest-servers-static.php?load=1',
"""Empty server response unless using '?load=1' or loading over https"""
'http://c.speedtest.net/speedtest-servers-static.php',
"""Invalid certificate when loaded over https"""
'://www.speedtest.net/speedtest-servers.php',
'://c.speedtest.net/speedtest-servers.php',
"""Redirects to 'http://c.speedtest.net/speedtest-servers-static.php?load=1' when loaded over http
Doesn't show 'url2' when loaded over https"""
# '://c.speedtest.net/speedtest-servers.php',
'http://c.speedtest.net/speedtest-servers.php',
"""Redirects to 'http://c.speedtest.net/speedtest-servers-static.php?load=1' when loaded over http
Invalid certificate when loaded over https"""
]
errors = []
servers = {}