Ending execution

Hi,

I'm scrapping through thefind.com, but if you hit next and there aren't any products, it doesn't hide the next button. Is there any way I can force it to quit if there aren't any results?

There are lots of ways. I

There are lots of ways. I would make a script that I run on extractor pattern that gets the products, and set to trigger if "pattern does not match" and it would just run sesssion.stopScraping() or session.setv("CONTINUE", false) or something.

Thanks!

Thanks!