Skip to content

Crawl the content of any instagram public page with no token or login

License

Notifications You must be signed in to change notification settings

resourcepool/insta-crawler

Repository files navigation

insta-crawler

fkill

NPM version Docker pulls Build Status dependances

Crawl the content of any instagram public page with no token or login

Inspired by instagram-profilecrawl

Install

With NPM:

npm i --global insta-crawler

With Yarn:

yarn add global insta-crawler

Usage

$ insta-crawler --help

  Usage
    $ insta-crawler <name>

  Options
    --output -o          define output format (JSON, YAML)
    --limit -l           get only the number of post defined by the limit

  Examples
    $ insta-crawler loicortola
    $ insta-crawler loicortola -o yaml

Run with docker

# Crawl profile of instagram user **loicortola** and export content to dest.json
docker run -e IGER=loicortola resourcepool/insta-crawler >> dest.json
# Crawl profile of instagram user **barackobama** limiting to the two latest posts and export content to barack.json
docker run -e IGER=barackobama -e LIMIT=2 resourcepool/insta-crawler >> barack.json
# Crawl profile of instagram user **loicortola** and export content to subdirectory **out/loicortola.yaml**
docker run -e IGER=loicortola -e OUTPUT=yaml -v ./out:/home/node/app/out resourcepool/insta-crawler

Example

You can find an example in the example folder.

example

License

MIT © Resourcepool

About

Crawl the content of any instagram public page with no token or login

Resources

License

Stars

Watchers

Forks

Packages

No packages published