会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
nevermore_29
Everything will be ok in the end, if it is not ok, it is not in the end!
博客园
首页
新随笔
联系
管理
订阅
2019年4月6日
python爬虫时,解决编码方式问题的万能钥匙(uicode,utf8,gbk......)
摘要: 转载 原文:https://blog.csdn.net/xiongzaiabc/article/details/81008330 无论遇到的网页代码是何种编码方式,都可以用以下方法统一解决 import chardet response = requests.get(url, headers=hea
阅读全文
posted @ 2019-04-06 22:51 nevermore_29
阅读(231)
评论(0)
推荐(0)
编辑
公告