insta-crawler

0.3.0 • Public • Published

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

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

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

Example

You can find an example in the example folder.

example

License

MIT © Resourcepool

Package Sidebar

Install

npm i insta-crawler

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

31.7 kB

Total Files

9

Last publish

Collaborators

  • loicortola