Hi all, quite new to Node-Red - only started using it yesterday, so may be trying to run before I can walk.
Anyway, I had a notion of scraping my local refuse collection site to keep an up-to date list of when the next recycling & refuse collection dates are.
I've gotten fairly far with this, but need some extra help.
To start with, here's the relevant site. I've generated a link using a postcode different from my own, for obvious reasons Property Results | Resident Service Portal (kier.co.uk)
The fields I'm interested in are the last & next service dates for each service.
My HTTP selector is set to table.table>tbody>tr>td
Which does give me some data, but it's messy. I don't seem to be able to drill down any further into the selector.
All I really need to get back are those dates. Is there either: a way to select just those, or, transform the output to show the dates only?
Here's my current code for the flow
[{"id":"83dc1c13f18ec93e","type":"inject","z":"a2eedb73ac9b8093","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":100,"y":220,"wires":[["eafbd032b825d3ab"]]},{"id":"eafbd032b825d3ab","type":"http request","z":"a2eedb73ac9b8093","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://bridgend.kier.co.uk/property/100100483617","tls":"","persist":false,"proxy":"","authType":"","senderr":false,"headers":[],"x":330,"y":320,"wires":[["a8efb783c1179c42"]]},{"id":"a8efb783c1179c42","type":"html","z":"a2eedb73ac9b8093","name":"","property":"payload","outproperty":"payload","tag":"table.table>tbody>tr>td","ret":"text","as":"single","x":510,"y":260,"wires":[["99d6a7ae09798d1d"]]},{"id":"99d6a7ae09798d1d","type":"debug","z":"a2eedb73ac9b8093","name":"Refuse Output","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":940,"y":240,"wires":[]}]