- 博客(1)
- 收藏
- 关注
原创 2021-04-04
xpath的使用 前xpath对象创立 一,解析html字符串html_string from lxml import html etree=html.etree html_object=etree.parse(html_string) #html_text=etree.tostring(html_objecct) 二,解析本地html字符串locad_html from lxml import html i=r"C:\L.html" parser =html.etree.HTMLParser(encodi
2021-04-04 11:36:13
80
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅