会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
This_is_Y
管理
2020年7月28日
python爬虫使用lxml解析数据编码乱码问题
摘要: 问题状况: response = requests.get(url=url, headers=headers).text html = etree.HTML(response) name = html.xpath("/html/body/div[2]/ul/li[1]/a/p/text()")[0]
阅读全文
posted @ 2020-07-28 12:47 This_is_Y
阅读(613)
评论(0)
推荐(0)
公告