Dataset Image Downloader & Uploader avatar
Dataset Image Downloader & Uploader

Pricing

Pay per usage

Go to Store
Dataset Image Downloader & Uploader

Dataset Image Downloader & Uploader

lukaskrivka/images-download-upload

Developed by

Lukáš Křivka

Maintained by Community

Download image files from image URLs in your datasets and save them to a Zip file, Key-Value store, or directly your AWS S3 bucket.

0.0 (0)

Pricing

Pay per usage

18

Monthly users

87

Runs succeeded

>99%

Response time

11 days

Last modified

2 months ago

You can access the Dataset Image Downloader & Uploader programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1echo '{
2  "pathToImageUrls": "images",
3  "fileNameFunction": "({url, md5}) => md5(url)",
4  "uploadTo": "zip-file",
5  "preDownloadFunction": "/* Example: We get rid of the items with price 0\\n({ data }) => data.filter((item) => item.price > 0)\\n*/",
6  "postDownloadFunction": "/* Example: We remove items without any successfully uploaded images.\\n We also remove any image URLs that were not uploaded\\n \\n ({ data, state }) => {\\n    return data.reduce((newData, item) => {\\n        const downloadedImages = item.images.filter((imageUrl) => {\\n            return state[imageUrl] && state[imageUrl].imageUploaded;\\n        });\\n        \\n        if (downloadedImages.length === 0) {\\n            return newData;\\n        }\\n        \\n        return newData.concat({ ...item, images: downloadedImages });\\n    }, []);\\n}\\n*/",
7  "imageCheckType": "content-type",
8  "proxyConfiguration": {
9    "useApifyProxy": true
10  }
11}' |
12apify call lukaskrivka/images-download-upload --silent --output-dataset

Dataset Image Downloader & Uploader API through CLI

The Apify CLI is the official tool that allows you to use Dataset Image Downloader & Uploader locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

1npm i -g apify-cli
2apify login

Other API clients include:

Pricing

Pricing model

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage.