Is there a select expression for matching tags with multiple classes?
Consider the following HTML snippet:
<div id="top">
<div class="foo bar"></div>
</div>
I could match it with soup.select('div#top div.foo')
or soup.select('div#top div.bar')
.
But I need both classes to be there.
Is there an expression for that?