Fix WOX (West Oxfordshire) scraper#373
Open
symroe wants to merge 1 commit into
Open
Conversation
meetings.westoxon.gov.uk serves valid ModGov XML to standard HTTP clients (curl returns HTTP 200 in ~2.7s) but wreq's Firefox133 TLS fingerprint times out from Lambda. The server's WAF drops the connection during the TLS handshake, consistent with the same pattern fixed on DAC, LBH, NYE, EPS, NWM, and NEW. Playwright's Chromium TLS fingerprint passes the WAF.
Member
Author
Re-scrape after 7f7a5f1Added
Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What broke
West Oxfordshire's ModGov endpoint (
meetings.westoxon.gov.uk) serves valid councillor XML to standard HTTP clients — curl returns HTTP 200 in ~2.7 seconds — but wreq's Firefox133 TLS fingerprint times out from Lambda. The server's WAF drops the connection during the TLS handshake before sending any response. This is the same pattern previously fixed on DAC, LBH, NYE, EPS, NWM, and NEW.What was fixed
councillors.py: addedhttp_lib = "playwright"— Playwright uses Chromium's standard Chrome TLS fingerprint, which passes the WAF. The server certificate is valid so noverify_requestsflag is needed.Scrape results
The HTTPS endpoint is confirmed live and returning valid ModGov XML from a non-Lambda IP. Counts will be confirmed once the Lambda scraper runs with Playwright.
Generated by Claude Code