如何在不使用Python 3的美丽汤的情况下获得标记之间的html值? 我想列出标签之间的值。 我该怎么做?我会使用正则表达式吗?如何从使用Python 3的HTML标记中获取值?
<td class="standing-table__cell standing-table__cell--name">Chelsea</td>
<td class="standing-table__cell standing-table__cell--name">Tottenham</td>
<td class="standing-table__cell standing-table__cell--name">Liverpool</td>
我将如何获得'切尔西','托特纳姆','利物浦'这样的值?
感谢
谷歌的第一个结果,https://docs.python.org/3/library/html.parser.html – smoggers
有没有没有使用“美丽的汤”的具体原因? –
我被告知我只能使用标准库 – kiwi