Skip to content

Detect geo block from HTTP Status.#404

Open
dimkroon wants to merge 1 commit into
vonH:matrixfrom
dimkroon:fix/geo-block-notification
Open

Detect geo block from HTTP Status.#404
dimkroon wants to merge 1 commit into
vonH:matrixfrom
dimkroon:fix/geo-block-notification

Conversation

@dimkroon
Copy link
Copy Markdown

@dimkroon dimkroon commented Dec 24, 2025

Geblocked reponses no longer include the html text we try to find. Requests now return HTTP status 403 when outside the UK. On one systems I use most pages are geoblocked, while on others only playing is blocked.

All 403 reponses will now raise a GeoBlockedError

Geblocked reponses no longer include the html text we try to find. Request now returns HTTP status 403 when outside the UK.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant