Instagram Profile Scraper avatar

Instagram Profile Scraper

Try for free

No credit card required

Go to Store
Instagram Profile Scraper

Instagram Profile Scraper

pepa.valek/actorwithalldetailsforstore
Try for free

No credit card required

Scrape and download Instagram posts, profiles, places, hashtags, photos, and comments. Supports search queries and URL lists. Download your data as HTML table, JSON, CSV, Excel, XML, and RSS feed.

.gitignore

1# This file tells Git which files shouldn't be added to source control
2
3.idea
4node_modules

Dockerfile

1# First, specify the base Docker image. You can read more about
2# the available images at https://sdk.apify.com/docs/guides/docker-images
3# You can also use any other image from Docker Hub.
4FROM apify/actor-node:15
5
6# Second, copy just package.json and package-lock.json since it should be
7# the only file that affects "npm install" in the next step, to speed up the build
8COPY package*.json ./
9
10# Install NPM packages, skip optional and development dependencies to
11# keep the image small. Avoid logging too much and print the dependency
12# tree for debugging
13RUN npm --quiet set progress=false \
14 && npm install --only=prod --no-optional \
15 && echo "Installed NPM packages:" \
16 && (npm list || true) \
17 && echo "Node.js version:" \
18 && node --version \
19 && echo "NPM version:" \
20 && npm --version
21
22# Next, copy the remaining files and directories with the source code.
23# Since we do this after NPM install, quick build will be really fast
24# for most source file changes.
25COPY . ./
26
27# Optionally, specify how to launch the source code of your actor.
28# By default, Apify's base Docker images define the CMD instruction
29# that runs the Node.js source code using the command specified
30# in the "scripts.start" section of the package.json file.
31# In short, the instruction looks something like this:
32#
33# CMD npm start

INPUT_SCHEMA.json

1{
2  "title": "Input schema for the hello_word actor.",
3  "type": "object",
4  "schemaVersion": 1,
5  "properties": {
6    "message": {
7      "title": "Message",
8      "type": "string",
9      "description": "Just enter your hello world message.",
10      "editor": "textfield"
11    }
12  },
13  "required": []
14}

apify.json

1{
2    "env": { "npm_config_loglevel": "silent" }
3}

main.js

1// This is the main Node.js source code file of your actor.
2// It is referenced from the "scripts" section of the package.json file,
3// so that it can be started by running "npm start".
4
5// Import Apify SDK. For more information, see https://sdk.apify.com/
6const Apify = require('apify');
7
8Apify.main(async () => {
9    // Get input of the actor.
10    // If you'd like to have your input checked and have Apify display
11    // a user interface for it, add INPUT_SCHEMA.json file to your actor.
12    // For more information, see https://docs.apify.com/actors/development/input-schema
13    const input = await Apify.getInput();
14    console.log('Input:');
15    console.dir(input);
16
17    // Do something useful here...
18
19    // Save output
20    const output = {
21        receivedInput: input,
22        message: 'Hello sir!',
23    };
24    console.log('Output:');
25    console.dir(output);
26    await Apify.setValue('OUTPUT', output);
27});

package.json

1{
2    "name": "example-hello-world",
3    "version": "0.0.1",
4    "description": "This is an example of an Apify actor.",
5    "dependencies": {
6        "apify": "^1.0.1"
7    },
8    "devDependencies": {},
9    "scripts": {
10        "start": "node main.js",
11        "test": "echo \"Error: oops, the actor has no tests yet, sad!\" && exit 1"
12    },
13    "author": "It's not you it's me",
14    "license": "ISC"
15}
Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 2 stars

  • >99% runs succeeded

  • Created in Aug 2021

  • Modified a year ago

Categories