Awesome Open Source
Awesome Open Source

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

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (70,419
python (54,564
client (399
instagram (276
scraping (119
instagram-scraper (31
python-3-6 (23