嵌套标签的BeautifulSoup

时间:2020-01-18 21:15:41

标签: python beautifulsoup

这个问题已经问了很多遍了,但是我找不到任何可行的解决方案。 {{3}},我正在尝试获取生成的名称。我尝试使用beautifulsoup的select命令和find_all命令,但是它们都不起作用。我找不到

<div id="result">Bottom's up<br>Wild goose chase<br>Big bad wolf<br>Greener grass<br>Feast of nothing<br>Nine yards<br>Eye to eye<br>Silver linings<br>All ears<br>Curiosity's death<br></div>

部分代码,也许是因为太嵌套了?我不知道。你能帮助我吗?非常感谢!

0 个答案:

没有答案
相关问题