1

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.

Community
  • 1
  • 1
Ojomio
  • 843
  • 1
  • 8
  • 17

0 Answers0