Hi
I'm working on a solution that would scan planned deliveries for URLs (in their HTML Source) and cURL those URLs and check their HTTP Response.
Goal is to avoid sending campaigns with broken URLs.
Now, I have the 2nd bit (cURLing) complete, however I cannot figure out how to obtain all the URLs (and img src URLs) for the cURL activity.
I've tried RegEx to check the [content/html/source] in nms:delivery and was working but it's not a recommended solution (safety wise) and for more complicated HTMLs it was malfunctioning.
How can I achieve this with javascript? Anybody else built similar solution?