更改代理

This commit is contained in:
work
2026-02-09 20:40:49 +08:00
parent feb49a9fad
commit 02c9fb6fd8

View File

@@ -24,7 +24,7 @@ class ProxyChecker:
list: 代理列表,格式为 [{"ip": "x.x.x.x", "port": xxxx}, ...] list: 代理列表,格式为 [{"ip": "x.x.x.x", "port": xxxx}, ...]
""" """
try: try:
url = 'https://api.911proxy.com/web_v1/ip/get-ip-v3?app_key=67645499c25418a2669fe1470307fd56&pt=9&num=10&ep=&cc=&state=&city=&life=30&protocol=1&format=json' url = 'http://123.58.209.87:8080/S2uDt8u8/proxy'
response = requests.get(url=url, timeout=self.timeout, verify=False) response = requests.get(url=url, timeout=self.timeout, verify=False)
response.raise_for_status() response.raise_for_status()