Skip to content

Commit

Permalink
关注有礼测试
Browse files Browse the repository at this point in the history
  • Loading branch information
curtinlv committed Jun 6, 2021
1 parent 06d1258 commit e51fc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getFollowGifts/jd_getFollowGift.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def drawShopGift(cookie, data):
'Referer': '',
'Accept-Language': 'zh-Hans-CN;q=1'
}
response = post(url, headers=headers, data=body)
response = post(url, headers=headers, data=body, timeout=60)
if 'isSuccess' in response.text:
return response.json()
else:
Expand Down

0 comments on commit e51fc12

Please sign in to comment.