摘要: 这里使用的是xpath这个第三方python库 使用 from lxml import etree 导入 使用: select = etree.HTML(html) content = select.xpath() for each in content: print each 一个简单的demo: 阅读全文
posted @ 2016-02-25 23:43 廖先生 阅读(421) 评论(0) 推荐(0) 编辑