Download Images From Dataset
Pricing
Pay per usage
Go to Apify Store
Deprecated
Download Images From Dataset
Download actual pictures from scraped dataset based on the image urls. The actor creates a zip file for you to download with one click.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Zuzka Pelechová
Maintained by Community
Actor stats
13
Bookmarked
264
Total users
2
Monthly active users
2 years ago
Last modified
Categories
Share
Dockerfile
FROM apify/actor-node:16 COPY package*.json ./
RUN npm --quiet set progress=false && npm install --only=prod --no-optional && echo "Installed NPM packages:" && (npm list --only=prod --no-optional --all || true) && echo "Node.js version:" && node --version && echo "NPM version:" && npm --version
COPY . ./main.js
1// This is the main Node.js source code file of your actor.2
3 // Import Apify SDK. For more information, see https://sdk.apify.com/4 const { Actor } = require('apify');5
6 Actor.main(async () => {7 // Get input of the actor (here only for demonstration purposes).8 const input = await Actor.getInput();9 // TODO: Transform the input properly10 await Actor.metamorph('SEQBnEA5oe2R9Hgdj', {11 ...input,12 fileNameFunction: "({url, md5}) => md5(url)",13 offset: 0,14 outputTo: "no-output",15 uploadTo: "zip-file"16 });17 });package.json
{ "name": "download-images-from-dataset", "version": "0.0.1", "description": "This is a boilerplate of an Apify actor.", "dependencies": { "apify": "^3.0.1" }, "devDependencies": { "@apify/eslint-config": "^0.3.1", "eslint": "^8.20.0" }, "scripts": { "start": "node main.js", "lint": "./node_modules/.bin/eslint ./src --ext .js,.jsx", "lint:fix": "./node_modules/.bin/eslint ./src --ext .js,.jsx --fix", "test": "echo \"Error: oops, the actor has no tests yet, sad!\" && exit 1" }, "author": "It's not you it's me", "license": "ISC"}