Closed Hitreno-2 closed 1 month ago
Also tried changing handler positions, doesn't help.
Hello, thank you for your interest in Crawlee and for the bug report. Currently, the error_handler
only handles errors thrown in your request_handler
function, but the error you're seeing happens before the request handler is invoked.
We decided to change this and let error_handler
handle both kinds of errors, at the cost of not having access to the full PlaywrightCrawlingContext
, but only BasicCrawlingContext
. You can expect this change to be released in a matter of days.
I am using the latest version of crawlee, python 3.11, windows 11, tried chromium and firefox. There is a simple example P.S. There is also an error ValueError: Cannot close the browser while there are open pages. Dont know how to fix that
expected result: "Error processing ["https://randomname32482395f.com"]"
obtained result: