- Install instagram-scraper
- Make file
usernames
with list of usernames - Scrape :
instagram-scraper --media-metadata --media-types none --latest --latest-stamps scrape-timestamps -f usernames
Note :
- Don't scrape comments, more faster api limit hit
- Choose Abort when rate limit hits, otherwise JSON won't be saved.
- Combine the resultant JSON files in different folders to one (output won't be a valid JSON file) :
find ./ -name '*.json' -exec cat {} \; > all