Skip to content

catch 503 error on initial scrape parsing #84

@HongPong

Description

@HongPong

I ran into this at scraping page 1/7

Error parsing https://www.ice.gov/detention-facilities?page=0&exposed_form_display=1: 503 Server Error: Service Unavailable for url: https://www.ice.gov/detention-facilities?page=0&exposed_form_display=1

Confirmed with network inspector that it was a 503 response. not sure what the best way to catch this error is but i suspect it will happen again so we may wish to do something. this was just after starting

 uv run python main.py --scrape

on head.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions