Typo in documentation
shamcode opened this issue · 1 comments
shamcode commented
Hi!
The example on the page https://grablab.org/docs/spider/error_handling.html refers to the method valid_response_code
:
class SomeSpider(Spider):
def valid_response_code(self, code, task):
return code in (200, 301, 302)
But in the code, the is_valid_network_response_code
method is responsible for this.