Skip page based on selected data

Hi scraper community,

I have a working web scraper project and I would like to know how I can skip a page based on a certain selected value (eg. if a text equals "abc").

In other words, I do not want to see the pages where text = "abc" in the output data.

Is this possible?

Many thanks!
Surgeman

1 Like

Make an element selector that has other selectors for that page as child selectors and set it to multiple.

Selector: html:not(:contains("abc"))

2 Likes

Many thanks, got the idea and it's working fine.

Can you please tell me how double quotes are to be marked if they are contained inside the text?

contains("text with "double quotes"")
contains("text with "double quotes"")

does not work for me - any other syntax to mark the double quotes? Thanks.

You have to escape them: \"

1 Like

Can you post the sitemap. Would like to see this in action