robbrad / UKBinCollectionData

UK Council Bin Collection Data Parser Outputting Bin Data as a JSON
MIT License
145 stars 91 forks source link

Nuneaton and Bedworth Borough Council #946

Open jpitcairn opened 3 days ago

jpitcairn commented 3 days ago

Name of Council

Nuneaton and Bedworth Borough Council

Example Address/Postcode

Newtown Road

Search URL

https://www.nuneatonandbedworth.gov.uk/bin-day

Additional Information

I've been looking into integrating my local council. Unfortunately their available data isn't ideal to work with. Digging around some issues here I can see a lot of similarities to #448.

Findings

I've done some scraping of their site and it looks like there are only 10 possible calendars (5 days of A+B cycles).

Looking at their accessibility information, it looks as though they are aware that PDF documents on their site aren't friendly for screen readers etc and work is being done to correct this (They mention in 2024). However, for now PDF's are all we've got.

I have reached out to the council to see if there are other formats available and am awaiting a response.

Ideas

Verification

jpitcairn commented 2 days ago

Have created a quick proof of concept for one of the 10 calendars. I'll do the other 9 if this solution is acceptable.

https://github.com/jpitcairn/UKBinCollectionData/blob/c97e9bb860af27b14d7d7e4995d1b25c28e57e27/uk_bin_collection/uk_bin_collection/councils/NuneatonAndBedworthBoroughCouncil.py