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

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

cookies = dict(cookies_are='working')




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

 

posted @ 2020-02-22 16:54  小白龙白龙马  阅读(776)  评论(0编辑  收藏  举报