Spaces:
Paused
Paused
Fetch more proxies
Browse files- 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=
|
| 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]
|