摘要: 1 from lxml import etree 2 import requests 3 res=requests.get('http://www.w3school.com.cn/') 4 tree=etree.HTML(res.content) 5 div=tree.xpath('//div[@i 阅读全文
posted @ 2020-07-22 21:26 年少无为腿毛怪 阅读(584) 评论(0) 推荐(1) 编辑