查找文档中所有
超级链接包含的文本值 from bs4 import BeautifulSoup doc=''' <title>The Dormouse's story</title>
The Dormouse's story
Once upon a time there were three little sisters; and their names were Elsie, Lacie and Tillie; and they lived at the bottom of a well.
...
''' soup=BeautifulSoup(doc,"lxml") __________________________________ for tag in tags: ________________________ 缺失的语句是:
A、tags=soup.find("p"); print(tag.text)
B、tags=soup.find("p"); print(tag["text"])
C、tags=soup.find_all("p"); print(tag.text)
D、tags=soup.find_all("p"); print(tag["text"])