Scraping image when deeplink is not linking to an actual image file

Hi!

Any suggestions how I could scrape the image of this website? The image URL doesnt seem to resolve to an image file.

Website: Kat Eaton (UK) | PHIL Haarlem
Image file: https://img.philhaarlem.nl/YVHKjYgIHJGtJUtm90Fm5XXKN6RtHfgcP6_iZX_KZuI/c:4256:1995:fp:0.5:0.33/s:1920:900:1/aHR0cHM6Ly93d3cucGhpbGhhYXJsZW0ubmwvL2Ntc19maWxlcy9zeXN0ZW0vaW1hZ2VzL2ltZzY0NTNfb3JpZy5qcGc#174

Thanks a lot!
Bob

1 Like

Hi @Bob

You can add an action at the end of your playbook to “Find all links in Text” to the scraped URL to be able to open the link after executing the automation. Here’s the example Playbook I’ve created for this use case: Shared Playbook Template

I hope this helps!
Thank you,
Jess

1 Like

Hi @Jess, Thanks for this! I did not know this feature existed. However, this is still not resolving to an image file. Its opening:

https://img.philhaarlem.nl/XXX
instead of:
https://img.philhaarlem.nl/xxx.jpg

Hope you have any other ideas. I dont :see_no_evil:

–Bob

1 Like

Got it, in that case @Bob - you are looking for this updated playbook: Shared Playbook Template

1 Like

HI @Jess,

:exploding_head: mind blown.

For the bonus question, would there be a way to store the result and link to it in a Google Sheet? I know, asking for too much. :grin:

i had already given up. Thank you @Jess. Please me know if there is anything I can do for you.
–Bob

Bardeen’s specialty :slight_smile: - yes this is very possible. Here’s the automation: Shared Playbook Template

Here’s the sample GSheet: Bob's Sheet - Google Sheets

(FWIW - next time, just provide the full end results you’re looking for so we can give you the entire automation in one.)

  • Happy to help, just have a wonderful day @Bob!

Hi @Jess,
No way, you did it. What kind of black magic is this? Awesome.
Magic Fingers Family GIF
Enjoy your day and thanks again!
Will provide full context next time.
–Bob

1 Like

Haha! Bardeen Magic! :bardeen_logo_2:

Take care @Bob!

Thank you,
Jess

1 Like