From 18c5b121fb3fd9cdba5d060ae9ac66965594bf0b Mon Sep 17 00:00:00 2001 From: fofolee Date: Sun, 7 Jun 2020 09:54:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/docs/python/BeautifulSoup.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/python/BeautifulSoup.html b/src/docs/python/BeautifulSoup.html index 5e6411d2..c2ac7a25 100644 --- a/src/docs/python/BeautifulSoup.html +++ b/src/docs/python/BeautifulSoup.html @@ -1170,7 +1170,7 @@

find_parent()find_parents() 方法会让人联想到 .parent.parents 属性.它们之间的联系非常紧密.搜索父辈节点的方法实际上就是对 .parents 属性的迭代搜索.

-

find_next_siblings() 合 find_next_sibling()

+

find_next_siblings() 和 find_next_sibling()

find_next_siblings( name , attrs , recursive , string , **kwargs )

find_next_sibling( name , attrs , recursive , string , **kwargs )

这2个方法通过 .next_siblings 属性对当tag的所有后面解析 [5] 的兄弟tag节点进行迭代, find_next_siblings() 方法返回所有符合条件的后面的兄弟节点, find_next_sibling() 只返回符合条件的后面的第一个tag节点.