python+requests——定制请求头——cookie

url = 'http://httpbin.org/cookies'

cookies = dict(cookies_are='working')




r = requests.get(url, cookies=cookies)

猜你喜欢

转载自www.cnblogs.com/xiaobaibailongma/p/12346091.html