Anyone out there know how to work this Cheerio node as the descriptions don't cover how to
use the bottom portion in detail.
I'm trying to extract the URL link from this 'Cheerio Chain' and I came to the link tag and can't get anything from it.
Maybe one of you are familiar with this.... The link tag does not have any embedded content between it and a closing tag, so it is like <link href=" ... " />
and doesn't return any values for me.
Here is my flow example I'm trying to use.
[{"id":"bec55481.5739c8","type":"debug","z":"d04ea5a4.8bc1e8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":3270,"y":3560,"wires":[]},{"id":"f02b754d.013a98","type":"inject","z":"d04ea5a4.8bc1e8","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":2970,"y":3440,"wires":[["ed4e08a0.e764a8"]]},{"id":"cb06ff7e.7ff54","type":"cheerio","z":"d04ea5a4.8bc1e8","name":"","tag":"link","ret":"html","as":"multi","map":[{"search":"link","ret":"text","replace":"","attr":"href"}],"xmlMode":true,"decodeEntities":true,"lowerCaseTags":true,"lowerCaseAttributeNames":true,"recognizeCDATA":true,"recognizeSelfClosing":false,"x":3090,"y":3500,"wires":[["bec55481.5739c8"]]},{"id":"ed4e08a0.e764a8","type":"function","z":"d04ea5a4.8bc1e8","name":"","func":"msg.payload = `\n<id>tag:google.com,2013:googlealerts/feed:18237228527151599722</id> <title type=\"html\"><b>Delaware</b> North plans temporary leave, pay cuts for thousands of workers</title> <link href=\"https://www.google.com/url?rct=j&sa=t&url=https://buffalonews.com/2020/03/25/delaware-north-plans-temporary-leave-pay-cuts-for-thousands-of-workers/&ct=ga&cd=CAIyGjJhZWJhMmJhNzAxZTJlOGI6Y29tOmVuOlVT&usg=AFQjCNHFwYRi_qKCKf-mWjPONfrJMjJ1cQ\"/> <published>2020-03-25T15:02:03Z</published> <updated>2020-03-25T15:02:03Z</updated> <content type=\"html\"><b>Delaware</b> North is placing most of its full-time workers on leave as the Buffalo-based hospitality giant grapples with the deep blow to its business&nbsp;...</content> <author> <name/> </author>\n\n`\nreturn msg;","outputs":1,"noerr":0,"x":2970,"y":3480,"wires":[["cb06ff7e.7ff54"]]}]
Thanks for any help in advance.