Fixing issue with not being able to get server list.

Fixing issue with not being able to get server list by adding '?threads=1' to the links
This commit is contained in:
Jorge Pabon 2016-08-21 05:50:18 -04:00 committed by GitHub
parent 7b09d8759f
commit 71e0b76d87
1 changed files with 4 additions and 4 deletions

View File

@ -417,10 +417,10 @@ 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.php',
'://c.speedtest.net/speedtest-servers.php',
'://www.speedtest.net/speedtest-servers-static.php?threads=1',
'://c.speedtest.net/speedtest-servers-static.php?threads=1',
'://www.speedtest.net/speedtest-servers.php?threads=1',
'://c.speedtest.net/speedtest-servers.php?threads=1',
]
errors = []
servers = {}