Skip to content

Handling 404, 500, and other non-200 http response codes to prevent scraping error pages #142

Description

@deanq

Has it ever been considered that some links would respond with a non-200 response, and this module would end up scraping the contents of that error page? I'm looking at network.get_html() and if I have time, I might just PR a change to that method to accept a strict 200-only config. I'm posting this here just in case I'm missing something or if someone has handled this elegantly already. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions