vicky002 / instagram-scraper

Scrape the Instagram frontend without any authentication or using Instagram API. Inspired by twitter-scraper(https://github.com/kennethreitz/twitter-scraper)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Scrape the Instagram frontend without any authentication or using Instagram API. Inspired by twitter-scraper(https://github.com/kennethreitz/twitter-scraper)


Languages

Language:Python 100.0%