Looking for a way to extract one specific URL from a HTML email automatically (I receive the exact same email with different URLs many times). Thing is, the URL sits behind an image as a hyperlink, and there are a dozen URLs in the raw HTML. How to extract the one I need?
Tried “Get URLs from Shortcut Input” and then repeat, but no luck.
When using the method you mentioned, do you get urls back or do they not show up? What if you use make HTML from rich text first then get urls from input?
Any idea how I should configure? Am working with email content as input (see screenshot above). Don’t known why I get this load of numbers and letters instead of html
Interesting. I wonder if the email has the images encoded as base64. That’s what the long string of text looks like to me but it’s hard to say without seeing the whole set of text output from the make HTML action
Historical anecdote: one of base64’s original uses was (and is) to send arbitrary data in emails, like attachments (which is why if you attach a 300 KB file to an email, it ends up being a 400 KB message
And sometimes the HTML version of an email is sent as an attachment