Instagram Profile Scraper avatar
Instagram Profile Scraper

Pricing

Pay per usage

Go to Store
Instagram Profile Scraper

Instagram Profile Scraper

Developed by

Josef Válek

Josef Válek

Maintained by Community

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.

0.0 (0)

Pricing

Pay per usage

2

Total users

8

Monthly users

1

Runs succeeded

>99%

Last modified

5 days ago

.gitignore

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

Dockerfile

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

INPUT_SCHEMA.json

{
"title": "Input schema for the hello_word actor.",
"type": "object",
"schemaVersion": 1,
"properties": {
"message": {
"title": "Message",
"type": "string",
"description": "Just enter your hello world message.",
"editor": "textfield"
}
},
"required": []
}

apify.json

{
"env": { "npm_config_loglevel": "silent" }
}

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

{
"name": "example-hello-world",
"version": "0.0.1",
"description": "This is an example of an Apify actor.",
"dependencies": {
"apify": "^1.0.1"
},
"devDependencies": {},
"scripts": {
"start": "node main.js",
"test": "echo \"Error: oops, the actor has no tests yet, sad!\" && exit 1"
},
"author": "It's not you it's me",
"license": "ISC"
}