May 4, 2019

76 words 1 min read

meetmangukiya/instagram-scraper

meetmangukiya/instagram-scraper

Scrape the Instagram frontend. Inspired from twitter-scraper by @kennethreitz.

repo name meetmangukiya/instagram-scraper
repo link https://github.com/meetmangukiya/instagram-scraper
homepage
language Python
size (curr.) 11 kB
stars (curr.) 891
created 2018-06-23
license MIT License

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
comments powered by Disqus