Skip to content

Commit

Permalink
Update ceshgi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
feller2021 authored Jun 20, 2023
1 parent 8fc2f05 commit 3bc2fed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ceshgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,13 @@ def shangchuang():
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.63",
"Connection": 'close'
}

with requests.Session() as up:
r = up.post(url, data=m,
headers=headers, timeout=(7,120),verify=False)

res=r.text
time.sleep(10)
jsonobj = json.loads(res)
msg=jsonobj['msg']
print(msg)
Expand Down Expand Up @@ -114,6 +116,7 @@ def shangchuang():
headers=headers, timeout=(7,120),verify=False)

res=r.text
time.sleep(10)
jsonobj = json.loads(res)
msg=jsonobj['msg']
print(msg)
Expand Down

0 comments on commit 3bc2fed

Please sign in to comment.