How to extract images from HTML?

Posted by Agenty on Mar 19, 2019

Scraping images from a website is same as any other attribute from HTML:

You need to define your CSS selector by clicking on the html elements or by manually typing the CSS class, element id or tag name. Then just select the extract type as ATTR and value as "src" as in screenshot below.

Note:- Some websites uses the lazy loading technique and the "src" value is changed with some data-attribute while scrolling or loading page using JavaScript/Jquery. So, you would need to inspect the HTML element or view the page source to see what attribute holds the original image path and use that attribute instead "src" for those images.


You need data? Our data experts team can help!

Request a demo, to get high-quality web data for your project

Install Agenty Chrome Extension?
Yes, install Not now