擅长:python、mysql、java
<p>硒的阻断和使用已经被涵盖。我将展示一种方法,以一种很好的json格式获取所有列表,您可以轻松地提取信息。如果使用selenium访问每个页面,则可以使用regex提取页面上的所有列表信息并传递给json.loads要生成json对象<a href="https://jsoneditoronline.org/?id=39d3422e2abd46078e9b621d2ff71945" rel="nofollow noreferrer">example here</a>,您可以轻松地解析每个列表的所有信息</p>
^{1}$
<hr/>
<p><strong>正则表达式说明:</strong></p>
<p><img src="https://i.stack.imgur.com/qwEyA.png" width="500"/></p>
<p>试试看<a href="https://regex101.com/r/U0kQGC/1" rel="nofollow noreferrer">here</a></p>