随笔分类 -  爬虫专题

摘要:一、与字符串的相互转换 1.字符串转变为etree 对象 import lxml.html tree = lxml.html.fromstring(content) # content 字符串对象 2.etree对象转变为字符串 from lxml import etree content = et 阅读全文
posted @ 2020-04-19 13:42 秋华 编辑

点击右上角即可分享
微信分享提示