robbrad / UKBinCollectionData

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

Wakefield City Council - Trying to parse "n/a" #773

Closed JIGarrido8 closed 3 days ago

JIGarrido8 commented 1 month ago

Name of Council

Wakefiled City Council

Issue Information

I moved recently to a new build home and the Wakefield City Council doesn't provide collection for garden waste yet so when I try to run the integration it crashes due to being trying to parse "n/a" to a datetime value.

Here you can see the info shown on the council bin collection page image

Verification

dp247 commented 1 month ago

@JIGarrido8 have you got an example URL I can test this with, please. If you don't want to paste it here, my contact details are on my profile :)

JIGarrido8 commented 1 month ago

@dp247 You can test it using this one https://www.wakefield.gov.uk/where-i-live/?uprn=63201208&a=20%20Fakenham%20Avenue%20Castleford%20WF10%205YL&usrn=41807387&e=442253&n=423601&p=WF10%205YL

robbrad commented 4 days ago

Wakefield is actually broken at the moment