Issue
I using scrapy, and I would like to get Ignoring response URL.I just see in the output console this:
DEBUG: Ignoring response <999 https://www.mywebsite.com>: HTTP status code is not handled or not allowed.
Solution
According to the documentation here you can add a list of HTTP status codes which should be handled by your spider even if they are not allowed by default.
In your case you have to add following line to your spider definition:
handle_httpstatus_list = [999]
This will cause the spider to get the result even with this status code.
Next time before asking a question pleas look through StackOverflow for similar questions and read the docs. And it won't be wrong to put some code to let us know where is your error happening. Without this information it is seldom that the community can give any answers.
Answered By - GHajba
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.