Blocking network requests with crawlee PuppeteerCrawler
PuppeteerCrawler but can't get it to work. I'd like to run something like this:
But it has to be initiated before page.goto.
I tried adding it to
preNavigationHooks like so:But this returns
Error: Request is already handled!Is there a way to do this with
PuppeteerCrawler?