BeautifulSoup 用法 标签属性值不肯定时用法

原文地址php 【背景】html 对于Python中的BeautifulSoup,以前用其去查找python <div aria-lable="xxx"> 之类的标签,xxx的内容未知(可变)的前提下web 想要查找到对应的此div标签,以前不知道如何实现。正则表达式 由于若是写成:express sopu.findAll("div", attrs={"aria-lable": "xxx"});
相关文章
相关标签/搜索