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
- Host: GitHub
- URL: https://github.com/resourcepool/insta-crawler
- Owner: resourcepool
- License: mit
- Created: 2018-10-05T22:06:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-31T15:40:04.000Z (about 6 years ago)
- Last Synced: 2025-01-30T05:12:27.344Z (over 1 year ago)
- Language: JavaScript
- Size: 525 KB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README-DOCKER.md
- License: LICENSE
Awesome Lists containing this project
README
# insta-crawler

[](https://www.npmjs.com/package/insta-crawler)
[](https://hub.docker.com/r/resourcepool/insta-crawler)
[](https://travis-ci.org/resourcepool/insta-crawler)
[](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)