In this blog post, we will take a look at how to scrape images from www.pinterest.com in their full sizes.We follow a two stage extraction process to capture the high-res images from pinterest.com.
In the first extraction stage, we capture the image URLs which are present in the listings page. These URLs actually point to smaller sized images (236 Pixels). Then using any Text Editor, we replace the /236x/ with /564x/ in all the URLs.
For example the URL : https://s-media-cache-ak0.pinimg.com/236x/99/….
is modified to : https://s-media-cache-ak0.pinimg.com/564x/99/….
In the second extraction stage, we use ‘Add URLs‘ method to add the modified URLs and scrape the full sized images ((564 Pixels) from each of these URLs using a single WebHarvy configuration.
This method is displayed in the following video :
- Know more about WebHarvy, the easy to use visual web scraper
- WebHarvy video tutorial series
- Various methods of extracting images and image URLs using WebHarvy
- Download free WebHarvy trial