scrapinghub / web-poet

Web scraping Page Objects core library
https://web-poet.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
95 stars 15 forks source link

Map HttpResponse.status in the example implementation #157

Closed Gallaecio closed 1 year ago

Gallaecio commented 1 year ago

Update https://github.com/scrapinghub/web-poet/blob/35c67d6bf018a823b3fa973d0b729761e394d934/web_poet/example.py#L35-L41 to also map the response status code into the returned HttpResponse object.