Closed David-YesWeDev closed 2 years ago
Hi there, I find out why my Spider Middleware RequestMiddlewareInterface wasn't fired, this is because I didn't emitted any new request in my Spider. The method handleRequest() is fired only in case of a new request during Spider processing, like this : https://github.com/ksassnowski/roach-example-project/blob/3d1968d3367c46e736ae32dcf1f81d76e9fb088e/app/Spiders/FussballdatenSpider.php#L66
Otherwise, thank you for this adapter !
Hello,
I have a problem when I want to return a drop from a Spider Middleware, it is not fired. I feel that the handleRequest method is not fired too. Can you help me please ?
Code
Spiders/Spider1.php
Spiders/SpiderMiddleware/CheckJobAlreadyExistsMiddleware.php
Logs
As you can see, "requests.dropped" is 0 instead of 1
Packages version
laravel/framework v9.34.0 roach-php/core 1.1.1 roach-php/laravel 1.0.0