lorien/grab

Typo in documentation

shamcode opened this issue · 1 comments

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.

Fixed in 661efdb