【发布时间】:2022-01-05 08:54:14
【问题描述】:
对于 JavaScript 内容,我必须使用 requests_html。代码:
<td class="text-left worker-col truncated"><a href="/account/0x58e0ff2eb3addd3ce75cc3fbdac3ac3f4e21fa/38-G1x" style="color:red">38-G1</a></td>
我想找到所有带有红色的名称(在本例中为 38-G1)。我想通过style="color:red" 搜索它们。 requests_html 可以做到这一点吗?我该怎么做?
【问题讨论】:
标签: javascript python web-scraping find python-requests-html