Skip to content

Fix NWL (North West Leicestershire) scraper#369

Open
symroe wants to merge 1 commit into
masterfrom
fix/NWL-scraper
Open

Fix NWL (North West Leicestershire) scraper#369
symroe wants to merge 1 commit into
masterfrom
fix/NWL-scraper

Conversation

@symroe

@symroe symroe commented Jun 20, 2026

Copy link
Copy Markdown
Member

What broke

North West Leicestershire's ModGov endpoint (minutes-1.nwleics.gov.uk) is now HTTPS-only. The base_url in metadata.json still used http://, causing Lambda to time out — the server silently drops HTTP connections rather than redirecting. The HTTPS endpoint (https://minutes-1.nwleics.gov.uk/mgWebService.asmx/GetCouncillorsByWard) is live and returns valid councillor XML (confirmed via HTTP 200 response).

What was fixed

  • metadata.json: changed base_url from http://minutes-1.nwleics.gov.uk to https://minutes-1.nwleics.gov.uk

Scrape results

Metric Count
Councillors found TBC after Lambda run
With email address TBC after Lambda run
With photo TBC after Lambda run

HTTPS endpoint confirmed live and returning valid councillor XML; counts will be confirmed once the Lambda scraper runs.


Generated by Claude Code

The ModGov endpoint at minutes-1.nwleics.gov.uk now requires HTTPS.
The HTTP URL times out from Lambda; the HTTPS URL returns valid
councillor XML (verified via direct fetch, HTTP 200).
@symroe

symroe commented Jun 20, 2026

Copy link
Copy Markdown
Member Author

Re-scrape after 210041a

Changed base_url from http:// to https:// in metadata.json.

Cannot run the scraper locally (DNS resolution for external hosts is blocked in this build environment), but the HTTPS endpoint was verified live via direct HTTP fetch — https://minutes-1.nwleics.gov.uk/mgWebService.asmx/GetCouncillorsByWard returns HTTP 200 with valid ModGov XML starting at ward "Appleby".

Metric Count
Councillors found TBC after Lambda run
With email address TBC after Lambda run
With photo TBC after Lambda run

Generated by Claude Code

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