摘要: XPath—XML Path Language 1、安装 lxml库 2、XPath常用规则 3、XPath解析页面 from lxml import etree text = ''' <div> <ul> <li calss='item-1'><a href='link1.html'> first 阅读全文
posted @ 2020-03-15 16:21 kuluma 阅读(142) 评论(0) 推荐(0) 编辑