“beautifulsoup hallazgo por texto” Código de respuesta

Beautifulsoup recibe texto

# Find all of the text between paragraph tags and strip out the html
page = soup.find('p').getText()
Disgusted Dugong

beautifulsoup hallazgo por texto

soup.find_all("a", string="Elsie")
# [<a href="http://example.com/elsie" class="sister" id="link1">Elsie</a>]
Disgusted Dugong

Respuestas similares a “beautifulsoup hallazgo por texto”

Preguntas similares a “beautifulsoup hallazgo por texto”

Más respuestas relacionadas con “beautifulsoup hallazgo por texto” en Python

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código