Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

beautifulsoup find element by partial text

elem = "a"
soup.find_all(elem, string="Text") # Find all elems(a) with text "Text"
 
PREVIOUS NEXT
Tagged: #beautifulsoup #find #element #partial #text
ADD COMMENT
Topic
Name
8+8 =