Download Instagram data of a profile from har dump
DISCLAIMER: THIS SCRIPT USES WEB SCRAPING. COMMERCIAL USE OF THIS SCRIPT IS STRICTLY PROHIBITED AND IS ILLEGAL. PLEASE FEEL FREE TO USE IT FOR LEARNING!
pip install -r requirements.txt
- Open user profile in Firefox - example.
- Open developer tools and network tab.
- Disable cache and reload page.
- Scroll down till all posts are downloaded.
- Click the gear icon on top right in dev tools and click "Save All As HAR".
Extract the har dump using steps from above section, then run:
python instagram_har.py <input.har>
Tested on Firefox v76.0.1 and v89.0.2