Scrape the Instagram frontend. Inspired from twitter-scraper by @kennethreitz.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Add LICENSE file Jun 24, 2018
README.md Allow using as a library Jun 24, 2018
instagram_scraper.py instagram_scraper: Make an empty set, if existing is None Jun 29, 2018
requirements.txt Initial commit 🚀 Jun 23, 2018

README.md

Instagram-Scraper

Installation

This scraper uses requests_html which requires python 3.6 or higher runtime.

pip install -r requirements.txt

Usage

As library

from instagram_scraper import scrape_instagram

for url, caption, hashtags, mentions in scrape_instagram(['quotes', 'meet'], 5):
    print(url, caption, hashtags, mentions)

As script

python3 instagram_scraper.py --tags software bugs --count 50