Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

beautifulsoup documentation

def has_class_but_no_id(tag):
    return tag.has_attr('class') and not tag.has_attr('id')
Source by www.crummy.com #
 
PREVIOUS NEXT
Tagged: #beautifulsoup #documentation
ADD COMMENT
Topic
Name
8+5 =