摘要: import requestsheaders = { "Accept": "application/json, text/javascript, */*; q=0.01", "Content-Type": "application/x-www-form-urlencoded; charset=UTF 阅读全文
posted @ 2020-04-13 16:52 bwcheng 阅读(2481) 评论(0) 推荐(0)
摘要: 原文地址:https://www.cnblogs.com/liuzhzhao/p/12114453.html,感谢博主! 一. 用 requests.utils.dict_from_cookiejar() 把返回的cookies转换成字典 1. 处理cookies: 1 import request 阅读全文
posted @ 2020-04-13 16:47 bwcheng 阅读(28148) 评论(0) 推荐(0)