Overview
Scrapes Instagram profiles and posts—including comments, likes, and video transcriptions—for trend and sentiment analysis.
This project involved scraping Instagram profile and post data to analyze trends, measure engagement, and understand audience sentiment across selected accounts.
Key Features
- Collects profile metrics such as follower count, following count, and profile metadata.
- Extracts post details including captions, media type, likes, comments, and timestamps.
- Downloads videos, converts them to audio, and generates transcriptions with Whisper.
- Fetches comments and performs basic sentiment tagging for audience analysis.
- Exports structured data to CSV and produces PDF reports containing transcriptions and comments.
- Supports authenticated scraping to bypass private‑account and rate‑limit restrictions.
Technologies Used
PythonInstagram Graph APIInstagrapiRequestsWhispermoviepyReportLabCSV
Challenges
Instagram’s rate limits, login requirements, and dynamic content loading demanded session management and headless browsing techniques.
Solution
Combined the Instagram Graph API for publicly available data with Instagrapi and custom request sessions to capture additional information. Used moviepy for media conversion and Whisper for high‑quality speech‑to‑text.
Results
Delivered a rich dataset that allowed marketing teams to benchmark influencers, track content performance, and refine social strategies based on real user feedback.