Get Image from Scraped Website?

Hi all :slight_smile:

I am using the HTTP module to get the data from a website to populate to a Google sheet. Is it possible to get an image of the website too? Do I need to use some type of service or is it possible to get the data from the HTTP module?

Thanks so much

Kyle

Hey @KyleBehrend,

the HTTP module gets the content of the website. In order to get a screenshot, you’ll need to use a tool with an API.

I really like: https://screenshotone.com/ but you can use any service. There are many screenshot APIs… :slight_smile:

Best,
Richard

2 Likes

You may possibly be able to do that directly within Google Sheets without using Make using the IMPORTXML function with an XPath to the image.

Example Trying to extract image URLs from XML using IMPORTXML in Google Sheet - Stack Overflow

Can you provide an example of the web page URL, and what image you want to extract?

2 Likes

Yeah, that could work :slight_smile:
As far as I understood the challenge it’s about getting a screenshot of said website and not an image within the page. Sorry if I got that wrong! :confused:

4 Likes

Reading between the lines I think they are trying to pull specific images out of the content.
You’d need to find the reference to the images within the html and call them specifically in a separate operation I would think.
If it’s a single website and you know how the images are referenced in the html then it might be possible. Would need more info to really know for sure.

2 Likes

Hi :slight_smile:
Thanks so much everyone. Ah no I do mean a screenshot of the website not images from within the copy. I thought there would be a thumbnail or something within the HTTP module. E.g. if you share a link on Facebook a little thumbnail image displays - that’s the image I want to try get/ otherwise a screenshot is good too :slight_smile:

1 Like

The ScrapingBee app on Make allows you to take screenshots, however it starts at $49.99/mo

Here are some other screenshot-taking API recommendations that have a free tier:

Make may not have an integration for these third-party services though.

You should be able to integrate the endpoints in Make using the generic HTTP “Make a request” module using the Developer API Reference/Documentation.

You can also suggest for it to be made in the Idea exchange. Don’t forget to search for it first, in case someone already suggested it!

4 Likes

Thanks everyone :slight_smile: Much appreciated <3

2 Likes