parser = BeautifulSoup(content, 'html.parser') # Get a list of all occurrences of the body tag in the element. body = parser.find_all("body") # Get the paragraph tag. p = body.find_all("p") # Get the text. print(p.text)
What is the use of ?
it cant be for indexing since body only contains the p branch.
how come we dont use it in parser.find_all but we need to use it for body.find_all and even p.text?
also is ResultSet the same thing as a list?