Skip to content

feat: add southend-on-sea city council scraper#2095

Open
InertiaUK wants to merge 1 commit into
robbrad:masterfrom
InertiaUK:feat/southend-on-sea-council
Open

feat: add southend-on-sea city council scraper#2095
InertiaUK wants to merge 1 commit into
robbrad:masterfrom
InertiaUK:feat/southend-on-sea-council

Conversation

@InertiaUK
Copy link
Copy Markdown
Contributor

Summary

  • New scraper for Southend-on-Sea City Council (population ~183k, Essex)
  • Uses Cloud9 Technologies open API at apps.cloud9technologies.com - same backend as the council's mobile app
  • No authentication required, pure HTTP with requests - no Selenium needed
  • Two API calls: address lookup by postcode, then waste collections by UPRN
  • Returns up to 11 container types: Refuse Bin, Pink Lid Recycling Bin, Blue Lid Recycling Bin, Food Caddy, Garden Waste Sacks

Notes

  • Council has no web-based bin day lookup (app-only), but the app's API is open
  • SUEZ replaced Veolia as waste contractor April 2025, new bin scheme from October 2025

Test plan

  • Tested with UPRN 010013362780 (1 Grovelands, SS2 4DU) - 4 bins
  • Also tested UPRN 010013362781 (2 Grovelands) - 5 bins including garden waste
  • End-to-end verified through Kepthouse API

Uses Cloud9 Technologies open API (same backend as council app).
No auth needed. Address lookup by postcode, then waste collections by
UPRN. Returns refuse, recycling (pink+blue lid), food caddy, garden
waste. Pure HTTP - no Selenium needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 22, 2026

Warning

Rate limit exceeded

@InertiaUK has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minute and 50 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7f614ecf-6a4e-44b1-bad6-883c2a68d083

📥 Commits

Reviewing files that changed from the base of the PR and between 8ecf878 and 557951d.

📒 Files selected for processing (2)
  • uk_bin_collection/tests/input.json
  • uk_bin_collection/uk_bin_collection/councils/SouthendOnSeaCityCouncil.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
1 1 0 0
View the top 1 failed test(s) by shortest run time
::uk_bin_collection.tests.step_defs.test_validate_council
Stack Traces | 0s run time
.../tests/step_defs/test_validate_council.py:24: in <module>
    @pytest.fixture(params=get_council_list())
.../tests/step_defs/test_validate_council.py:19: in get_council_list
    data = json.load(file)
.../usr/lib/python3.12/json/__init__.py:293: in load
    return loads(fp.read(),
<frozen codecs>:322: in decode
    ???
E   UnicodeDecodeError: 'utf-8' codec can't decode byte 0x97 in position 41488: invalid start byte

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

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