摘要: 0. requests不设置UA 访问baidu 得到 r.headers['Content-Type'] 是text/html 使用chrome UA: Content-Type:text/html; charset=utf-8 1.参考 代码分析Python requests库中文编码问题 is 阅读全文
posted @ 2017-10-26 16:22 my8100 阅读(3219) 评论(0) 推荐(0) 编辑