How to find the li tags with a specific class name but not others? For example:
li
... no wanted not his
Possibly with a filter function as in the doc
def is_only_z(css_class): return css_class is not None and css_class == 'z' bs4.find_all('li',class_=is_only_z)