Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to mark scans as failed #54

Open
illusive-ch opened this issue Jul 28, 2022 · 1 comment
Open

Unable to mark scans as failed #54

illusive-ch opened this issue Jul 28, 2022 · 1 comment

Comments

@illusive-ch
Copy link

Maybe I am missing the documentation but when you send the spider out to say https://1013polebeauty.com it would be nice for me to be able to mark this domain as invalid so we do not crawl it again.

I looked into the downloader middleware and spider middleware however the response already seems to be processed at this point, is there any way that you can look at the response code and if there is an issue $yield or be able to update a Laravel model?

@AkioSarkiz
Copy link

I think you need to check the domain before submitting. And cache the result. This way you will not send a request if the domain is not valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants