From 416f1fcd4bac465dd20598aad6c29c9a47602231 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Jul 2026 07:15:56 +0000 Subject: [PATCH] Fix STR (Stratford-on-Avon): add playwright to bypass WAF TLS block MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit democracy.stratford.gov.uk times out from Lambda with wreq's Firefox133 TLS fingerprint — the WAF drops the connection. The endpoint is reachable from non-Lambda IPs (confirmed 302 via proxy). Playwright's Chrome TLS fingerprint bypasses the WAF, consistent with HAL, TON, MON, GED, COV, and other recently fixed ModGov instances. --- scrapers/STR-stratford-on-avon/councillors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapers/STR-stratford-on-avon/councillors.py b/scrapers/STR-stratford-on-avon/councillors.py index f9d462d2..3e1d3f96 100644 --- a/scrapers/STR-stratford-on-avon/councillors.py +++ b/scrapers/STR-stratford-on-avon/councillors.py @@ -2,4 +2,4 @@ class Scraper(ModGovCouncillorScraper): - pass + http_lib = "playwright"