Commit a46f3496 authored by wang's avatar wang

111

parent 849caf74
......@@ -366,7 +366,7 @@ setTimeout(r=> {
, allow_redirects=True, random_tls=True
))
status_code = response.json()['status_code']
# print(response.text)
print(response.text)
logger.info(f'tls:{tlsV} proxy:{proxy} res:: {status_code}')
# status_code = 400
......
......@@ -129,7 +129,7 @@ def get_proxy():
r = requests.post(get_proxy_url, json={
'name': 'WS',
'type': 'shopping'
})
}, proxies={'http': 'http://127.0.0.1:7890', 'https': 'http://127.0.0.1:7890'})
return r.json()
def md5(text):
m = hashlib.md5()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment