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:
parent
7b09d8759f
commit
71e0b76d87
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in New Issue