Skip to content

CssSelect doesn't work as expected #1188

@a-a-k

Description

@a-a-k

Please, direct me to a relevant closed/opened issue if that already exists.
Here a part of my HTML (if need - you can explore it completely here)

Sample HTML

I've checked this examples before but when I'm trying to parse article elements by

doc.CssSelect "article[itemscope='']" 

or

doc.CssSelect "div.items.catalog-items > article"

or

doc.CssSelect "div.list.catalog-list article"

all these give me no results, can't figure out why. Also, even this construction gives me nothing

doc.CssSelect "div.list.catalog-list"

But this

doc.CssSelect "div.list" 

returns an element (howewer, also not that I searched).

Any supposes?

UPD

Is that related - #1130?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions