monra commited on
Commit
e66c2a9
1 Parent(s): 0607553

Fetch more proxies

Browse files
Files changed (1) hide show
  1. server/auto_proxy.py +1 -1
server/auto_proxy.py CHANGED
@@ -11,7 +11,7 @@ def fetch_proxies():
11
  Returns:
12
  list: A list of proxy servers in the format "IP:Port".
13
  """
14
- url = "https://api.proxyscrape.com/v2/?request=displayproxies&protocol=http&timeout=1000&country=all&ssl=all&anonymity=all"
15
  response = requests.get(url)
16
  if response.status_code == 200:
17
  proxy_list = response.text.split("\r\n")[:-1]
 
11
  Returns:
12
  list: A list of proxy servers in the format "IP:Port".
13
  """
14
+ url = "https://api.proxyscrape.com/v2/?request=displayproxies&protocol=http&timeout=10000&country=all&ssl=all&anonymity=all"
15
  response = requests.get(url)
16
  if response.status_code == 200:
17
  proxy_list = response.text.split("\r\n")[:-1]