An open API service indexing awesome lists of open source software.

https://github.com/resourcepool/insta-crawler

Crawl the content of any instagram public page with no token or login
https://github.com/resourcepool/insta-crawler

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# insta-crawler
![Instagram Logo](https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Instagram_font_awesome.svg/200px-Instagram_font_awesome.svg.png)

[![NPM version](https://img.shields.io/npm/v/insta-crawler.svg)](https://www.npmjs.com/package/insta-crawler)
[![Docker pulls](https://img.shields.io/docker/pulls/resourcepool/insta-crawler.svg)](https://hub.docker.com/r/resourcepool/insta-crawler)
[![Build Status](https://travis-ci.org/resourcepool/insta-crawler.svg?branch=master)](https://travis-ci.org/resourcepool/insta-crawler)
[![dependances](https://david-dm.org/resourcepool/insta-crawler.svg)](https://david-dm.org/resourcepool/insta-crawler)

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

Inspired by [instagram-profilecrawl](https://github.com/nacimgoura/instagram-profilecrawl)

## Run with docker
Crawl profile of instagram user **loicortola** and export content to dest.json
```bash
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
```bash
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**
```bash
docker run -e IGER=loicortola -e OUTPUT=yaml -v `pwd`/out:/home/node/app/out resourcepool/insta-crawler
```

## Install

```bash
yarn add global insta-crawler
```

## Usage

```bash
$ insta-crawler --help

Usage
$ insta-crawler

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
```

## License

MIT © [Resourcepool](https://github.com/resourcepool)