Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

beautifulsoup check if text exists

elem = "a"
soup.find_all(elem, string="Text") # Find all elems(a) with text "Text"
 
PREVIOUS NEXT
Tagged: #beautifulsoup #check #text #exists
ADD COMMENT
Topic
Name
3+1 =