Crawl instagram photos, posts and videos for download.
Switch branches/tags
Nothing to show
Clone or download
Latest commit f1ad0e8 Nov 24, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Rename instagram_crawler to instagram-crawler Nov 23, 2018
lib Update version to 0.1.1 Nov 23, 2018
screenshots Update README Nov 22, 2018
spec Fix rspec Nov 23, 2018
.gitignore Init Nov 14, 2018
.rspec Init Nov 14, 2018
.travis.yml Add travis Nov 23, 2018
Dockerfile Add Docker Nov 24, 2018
Gemfile Add coverall Nov 23, 2018
Gemfile.lock Add coverall Nov 23, 2018
LICENSE.txt Init Nov 14, 2018
README.md Add Docker Nov 24, 2018
Rakefile Init Nov 14, 2018
instagram-crawler.gemspec Update gem description Nov 23, 2018

README.md

Instagram Crawler

Gem Version Maintainability Build Status Coverage Status security MIT licensed

The easiest way to download instagram photos, posts and videos.

Instagram Crawler is a ruby gem to crawl instagram photos, posts and videos for download.

Installation

$ gem install instagram-crawler

Setting env variable

export sessionid=[your instagram sessionid]

Getting Started

Show all file link

-u || --user_name

instagram-crawler -u <user_name>

Download files after this date (YYYYMMDD)

-a || --after

instagram-crawler -u <user_name> -d -a 20181120

Generate log file

-l || --log

instagram-crawler -u <user_name> -l

Help

instagram-crawler -h | --help

Usage:
  instagram-crawler [options]
  See https://github.com/mgleon08/instagram-crawler for more information.

options:
    -u, --username USERNAME          Instagram username
    -d, --download                   Download files
    -a, --after DATE                 Download files after this date (YYYYMMDD)
    -l, --log                        Generate a log file in the current directory
    -v, --version                    Show the instagram-crawler version
    -h, --help                       Show this message

Docker

# make sure already setting env variable
# you can setting sessionid in local use $sessionid or pass sessionid to docker
# $PWD/instagram-crawler is file store path

# pull image
docker pull mgleon08/instagram-crawler

# docker run
docker run -it --rm -v $PWD/instagram-crawler:/instagram-crawler -e sessionid=$sessionid --name marvel mgleon08/instagram-crawler -u marvel -a 20181124 -d -l

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mgleon08/instagram-crawler/pulls

License

  • Copyright (c) 2018 Leon Ji. See LICENSE.txt for further details.
  • The gem is available as open source under the terms of the MIT License.