jamietre / CsQuery

CsQuery is a complete CSS selector engine, HTML parser, and jQuery port for C# and .NET 4.
Other
1.16k stars 249 forks source link

Pseudo-element support to select an attribute directly #201

Open mikegron opened 8 years ago

mikegron commented 8 years ago

Is there a way to select an attribute directly using a CSS selector? For instance, Scrapy supports this using pseudo-elements: http://doc.scrapy.org/en/0.24/topics/selectors.html#using-selectors You could have a CSS selector "a #myLink::href" to select the href directly. Is there another way to do it right now ?