I'm trying to parse HTML pages and get items with specific attributes. I'm using lxml.cssselect for the job.
I can't seem to get it to work with attribute selector. The following selector: p[itemprop="articleBody"] returns nothing on this page for example. Using the same selector from Firefox or Chrome works.
When I try selectors with no attributes, they do work.
I create the CSSSelector with the html translator.
Is this kind of selector simply not supported by lxml.cssselect? I couldn't find any reference to it in the docs.