This script is designed for scraping data from Instagram public profiles using the Instagrapi module.
The Instagrapi Python module only handles the API requests, so I've added additional features to ensure its functionality:
- Parsing and storing the scraped data in JSON format
- Setting a proxy (I used ScrapeOps service, but you can use any proxy that works)
- Log recordings to track the process and identify bugs
- Capability to resume unfinished scraping processes
- Optional: Use the data_cleanse.py script for parsing JSON into a CSV file in Excel-friendly data format
For a scraping demo, please visit the Medium Story: How to Scrape and Analyze Instagram Influencer Engagements
.
Distributed under the MIT License. See LICENSE.txt
for more information.
Musa Yohanes - [email protected]
Project Link: https://github.com/Muyoouu/instagram-scraper