Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

beautifulsoup find text contains

elem = "a"
soup.find_all(elem, string="Text") # Find all elems(a) with text "Text"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #beautifulsoup #find #text
ADD COMMENT
Topic
Name
6+3 =