bs4 '4.8.2'版本html解析错误(使用findall方法查找link标签,返回中包含style标签)
大概率因为页面存在注释,例如:
<!--[if lte IE 8]>
<style index="index" data-compress="strip">
.s_form{top:260px}
</style>
<![endif]-->
<!--[if IE 8]>
<style index="index" data-compr...
原创
2020-02-06 17:37:13 ·
680 阅读 ·
0 评论