Ancestors

Toot

Written by Mat Gadd on 2025-01-29 at 20:28

Looked into getting our recycling/waste collection info into Home Assistant. There’s a popular integration, but it insists on using Selenium to drive a browser?! Bashed together a script to scrape the page and output JSON instead.

=> More informations about this toot | More toots from Drarok@mastodon.social

Descendants

Written by Marcus Noble on 2025-01-29 at 20:36

@Drarok this is what I use. Not perfect but does the job and very actively updated.

https://github.com/robbrad/UKBinCollectionData

=> More informations about this toot | More toots from Marcus@k8s.social

Written by Mat Gadd on 2025-01-29 at 20:37

@Marcus yeah, that’s the one I found. Bizarre approach.

“Some councils need Selenium to run the scrape on behalf of Home Assistant.”

=> More informations about this toot | More toots from Drarok@mastodon.social

Written by Marcus Noble on 2025-01-29 at 20:41

@Drarok you’re Oxfordshire council right? Pretty sure it doesn’t need it.

=> More informations about this toot | More toots from Marcus@k8s.social

Written by Mat Gadd on 2025-01-29 at 20:44

@Marcus nope, Wychavon these days!

=> View attached media

=> More informations about this toot | More toots from Drarok@mastodon.social

Written by Marcus Noble on 2025-01-29 at 20:45

@Drarok oh wow! Nevermind then 🤣

=> More informations about this toot | More toots from Marcus@k8s.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113913529514033256
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
268.815263 milliseconds
Gemini-to-HTML Time
1.139294 milliseconds

This content has been proxied by September (3851b).