Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to Bulk Download Images: From URL Lists to a ZIP File

Downloading one image is easy. Downloading 80 product photos from a spreadsheet gets tedious, especially when you also need consistent filenames and a way to tell which downloads failed. The most useful starting point is a list of direct image URLs. Once you have that list, you can download the files together with a browser tool or a small command-line workflow. This tutorial covers both…

1. Examine the type of image links you possess. Some links lead directly to an image file, while others open a webpage containing the image. If the latter, you'll need a different downloader. Both types are valid inputs for downloading images, but a direct image URL is more suitable for bulk downloads.

2. Organize your image URLs in a clean, single-column list. Each URL should be on its own line. This makes it easy to work with the list, whether you're copying it from a spreadsheet or using a script. Ensure you remove any empty rows, duplicate URLs, or non-image URLs, as these can cause errors during the download process.

3. Download your image list as a ZIP file using Veyvia's bulk image downloader. This tool accepts direct image URLs and compiles successfully downloaded files into a ZIP archive. You can customize the filenames, convert the images to different formats, and limit the image width if needed. Note that this is not a fully automated process and you'll need to handle any failed downloads manually.

4. If you don't have a list of URLs, you can collect them from a webpage using a simple JavaScript snippet. This collects all unique image URLs from the page and copies them to your clipboard. However, this method has limitations. It only works for images loaded directly on the page and won't find images in iframes, shadow roots, or other hidden areas of the page. Also, it won't discover images on linked pages. Always review the collected list to ensure it contains only the images you need.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

JavaScript is (too) liberal

JavaScript is a remarkably permissive language, which can be both a blessing and a curse for developers. This post explores the liberal aspects of the language and its implications for code quality…

Syncing your Obsidian

There are several ways to sync Obsidian, but I decided to document the method I chose, both so I don't forget the details in the future and to help anyone else looking for their own sync solution.

Text correction with Harper

Luiz recently received a recommendation about Harper , a new grammar checking tool developed by Automattic using Rust. The project's repository describes Harper as meeting the developer's specific…

More from Sunday 13 September →