摘要: from lxml import etree当我们不用框架的时候会用到这样的库,然后进行xpath,可有时候得到的却不是我们想要的而是:Element 类型的东西,那我们怎么转换成自己想要的东西呢? from lxml import html myWant = html.tostring(yourE 阅读全文
posted @ 2020-03-06 09:59 那时的吻狠陶醉 阅读(3338) 评论(0) 推荐(0) 编辑