diff --git a/main.py b/main.py index 35bf632..a128248 100644 --- a/main.py +++ b/main.py @@ -142,7 +142,9 @@ def post_with_retry(url, proxy_name, json_payload=None, data=None, headers=None, data=data, headers=headers, proxies=proxies, - timeout=timeout + timeout=timeout, + allow_redirects=True, # 允许重定向 + verify=False, # 不验证 SSL 证书 ) if resp.status_code == 401 and not token_refreshed: if verbose: