Python html中一级元素.next_sibling打印为空

在学到BeautifulSoup库的兄弟节点有了疑惑,但愿见到这篇文章的各位大神们能帮我解决这个疑惑。html 如下是出现问题的代码,没有报错,只是实现与我指望的不一样。html5 from bs4 import BeautifulSoup sibling_html = """     <html>         <body>             <p><p id="p1">biubiubi
相关文章
相关标签/搜索