Like, for example, I do with XPath for node tag_line
:
for tag_line in grab.css_list('ul#navigation > li#main-li'):
section_caption = tag_line.xpath('./span[1]')
This question is like this one but about using CSS selectors.
Like, for example, I do with XPath for node tag_line
:
for tag_line in grab.css_list('ul#navigation > li#main-li'):
section_caption = tag_line.xpath('./span[1]')
This question is like this one but about using CSS selectors.