How to Bulk Download Images from A Website?Tuesday, May 10, 2016 3:46 AM
Welcome to Octoparse tutorial. In this tutorial, you will learn how to extract images from websites using Octoparse. Scraping images seems to be a popular request. Unfortunately, you can’t use Octoparse to extract the image itself. But you can extract images as the URL of where the image is stored on the website. You can scrape the URLs first, and then bulk download images by using a “download from URL” tool. I will show you how to do this. It’s very easy.
**For an updated version of this article, please check this post.
First, open the target web page in the built-in browser.
If you want all the URLs of images of this category, you need to configure pagination for extraction. Wait until the page loaded, scroll down the page to the bottom. Click on “Next”. Select “Loop click next page”.
Then go back to the top. Select the first article. Select “Create a list of item”. Add current item to the list. Continue to edit the list.
Select the second article. Add current item to the list. Then finish creating list. Click Loop to process the list.
Now you can start to extract the URLs of images. Extract the name of the product. Choose Extract text. Extract the address of the image. This row is the basic HTML structure. Make sure you locate the appropriate tag. (And the image address should be in the image tag.) Then select “Extract image address of this term”.
Next, drag the second “Loop Item” before “Click to paginate” action.
Now we’re done configuring the rule of extraction. And choose Local Extraction to run the task on the computer.
The URLs of all the image will be extracted in this field. Export the result to excel file or other database formats and save it to your computer.
This is the result extracted.
Then use a chrome extension Tab Save to download the images. Enter your download links.
Copy all the URLs of images and paste them in the textbox. Click download button and all the images would be downloaded to your computer.
So this is the end of the tutorial. If you have any question or idea, feel free to contact us at firstname.lastname@example.org or join in our Facebook group: Octoparse Community.(https://www.facebook.com/groups/1700643603550408/)
If this video tutorial is not available for you, you can click hereto see the corresponding graphic tutorial.