Skip to content

Scrape failure: Power NI website may have changed #11

Description

@github-actions

Scrape health check failed

The scheduled live scrape test failed on $(date -u +"%Y-%m-%d"), which means one or more tariff prices could not be extracted from powerni.co.uk/compare-electricity-ni/unit-rates/.

Likely causes

  • The website HTML structure has changed (section IDs, table classes, or cell layout)
  • A tariff has been renamed or removed
  • The website is temporarily unavailable

What to do

  1. Visit powerni.co.uk/compare-electricity-ni/unit-rates/ and check the page renders correctly
  2. Inspect the HTML source and compare against the selectors in parser.py
  3. Update _parse_simple_table / _parse_multiline_table or section IDs in const.py as needed
  4. Run pytest tests/test_live.py -v locally to confirm the fix

This issue was opened automatically by the Scrape Health Check workflow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions