matthewmueller / x-ray

The next web scraper. See through the <html> noise.
MIT License
5.87k stars 349 forks source link

:not selector #298

Closed vittoriomigliore closed 6 years ago

vittoriomigliore commented 6 years ago

Error occurred when I tried to use jQuery selector syntax like:

li:not(.foo li)

I need to select elements that don't have a specified parent class How can I retrieve same result if :not selector doesn't work?

Already tried it on site by console and it does work: $("li:not(.foo li)")