![Download Images From Dataset avatar](https://images.apifyusercontent.com/_3u_4bf01H2YDrqIRUKaxnY-icQS2Tj1AA-UOsIuuTA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9NTEhOUGpVeFNCQTJ1R3Zady9CaGhGc0JQem9jYUhzUkhDZy1zdGF6X2VueV9fc291Ym9yXyUyODElMjkucG5n.webp)
Download Images From Dataset
Try for free
No credit card required
View all Actors![Download Images From Dataset](https://images.apifyusercontent.com/_3u_4bf01H2YDrqIRUKaxnY-icQS2Tj1AA-UOsIuuTA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9NTEhOUGpVeFNCQTJ1R3Zady9CaGhGc0JQem9jYUhzUkhDZy1zdGF6X2VueV9fc291Ym9yXyUyODElMjkucG5n.webp)
![Download Images From Dataset](https://images.apifyusercontent.com/_3u_4bf01H2YDrqIRUKaxnY-icQS2Tj1AA-UOsIuuTA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9NTEhOUGpVeFNCQTJ1R3Zady9CaGhGc0JQem9jYUhzUkhDZy1zdGF6X2VueV9fc291Ym9yXyUyODElMjkucG5n.webp)
Download Images From Dataset
zuzka/download-images-from-dataset
Try for free
No credit card required
Download actual pictures from scraped dataset based on the image urls. The actor creates a zip file for you to download with one click.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "datasetId": "BJ1QEU6wepLqFPerV",
8 "pathToImageUrls": "image",
9 "limit": 10,
10 "fileNameFunction": "({url, md5}) => md5(url)",
11 "proxyConfiguration": {
12 "useApifyProxy": true
13 }
14}
15EOF
16
17# Run the Actor using an HTTP API
18# See the full API reference at https://docs.apify.com/api/v2
19curl "https://api.apify.com/v2/acts/zuzka~download-images-from-dataset/runs?token=$API_TOKEN" \
20 -X POST \
21 -d @input.json \
22 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 16 monthly users
- 8 stars
- 99.9% runs succeeded
- 6.1 days response time
- Created in Feb 2023
- Modified 6 months ago
Categories