Commit c0e4a0a0 authored by wang's avatar wang

ws 测试

parent 865772d1
...@@ -129,7 +129,7 @@ def get_proxy(): ...@@ -129,7 +129,7 @@ def get_proxy():
r = requests.post(get_proxy_url, json={ r = requests.post(get_proxy_url, json={
'name': 'WS', 'name': 'WS',
'type': 'shopping' 'type': 'shopping'
}, proxies={'http': 'http://127.0.0.1:7890', 'https': 'http://127.0.0.1:7890'}) })
return r.json() return r.json()
def md5(text): def md5(text):
m = hashlib.md5() 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