I am confused by the class attribute of list items, inside an unordered list.
I mention I am writing a python program to crawl from a website, which targets the li elements inside an ul list. There are 45 li elements inside the ul, 17 of which have no "class" attribute assigned to them. Here is a portion of the ul.
My customized target selector is "ul.vacanciesList li" and I only get the 17 ones that don't have the "class" keyword.
My question is, what is that "class" keyword that appears in the markup for the li elements, and how to target them (the li-s) in order to get all 45 of them, not only the ones without class.
Customized code:
'title' => ['selector' => 'h3'],
'containerSelector' => 'ul.vacanciesList li',
'detailSelector' => '#bigbox',
'location' => ['selector' => 'div.place'],
Thank you.