Skip to content

Instantly share code, notes, and snippets.

@subins2000
Created October 18, 2020 10:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save subins2000/3e0934fd6f62483e3d0a65852515e4f0 to your computer and use it in GitHub Desktop.
Save subins2000/3e0934fd6f62483e3d0a65852515e4f0 to your computer and use it in GitHub Desktop.
Instagram Scraper for Varnam
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment