anaskhan96/soup

FindAll element with no class attribute

Gustibimo opened this issue · 1 comments

In python we can use:

soup.findAll(attrs={'class': None})

Not sure if it's possible to implement this without cutting backward compatibility forever the way the library's design has turned out, but will still keep it in the open.

Generalising to the following

Find/FindAll with the option to return elements of specified tag not containing a particular attribute