会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
PythonNew_Mr.Wang
CnBlogs
Home
New Post
Contact
Admin
Subscription
2020年2月21日
【python爬虫】windoes的爬虫中文乱码现象,通用转码解决
page = session.get(url="https://www.qidian.com/") page.encoding = page.apparent_encoding page_text =page.text tree = etree.HTML(page_text)
Read More
posted @ 2020-02-21 19:17 PythonNew_Mr.Wang
Views(357)
Comments(0)
Diggs(0)
公告