Hi.
To get the next bin collection day.
- platform: scrape
resource: https://wlnk.statmap.co.uk/map/Cluster.svc/getpage?script=\Cluster\Cluster.AuroraScript$&taskId=bins&format=js&updateOnly=true&query=x%3D509072%3By%3D389214%3Bid%3D37672
name: Next Black Bin Day
select: ""
scan_interval: 1440
value_template: >
{{ value | regex_findall_index(find="day,\s+?(\d{1,2}\/\d{2})\\", index=0, ignorecase=true) }}
Does not work and I suspect its the selector part as the document is not HTML (Or REST) just hacking a none api reponse.
Any solution to this? Asking a council for a proper API be almost imposible.