I'm using lxml to parse an html that has a facebook comments tag that looks like that:
<fb:comments id="fb_comments" href="http://example.com" num_posts="5" width="600"></fb:comments>
I am trying to select it to get the href value but when i do a cssselect('fb:comments')
i get the following error:
The pseudo-class Symbol(u'comments', 3) is unknown
Is there a way to do it?
Edit: The code:
from lxml.html import fromstring
html = '...'
parser = fromstring(html)
parser.cssselect('fb:comments') #raises the exception