/instagram-scraper

Primary LanguageJavaScriptMIT LicenseMIT

prerequisites

  • node.js
  • any text editor
  • discord
  • discord account

running

  • login to the discord developer portal
  • create a bot and get the token
  • add the bot to your server
  • install dependencies to the folder through a terminal with commands:
npm i puppeteer
npm i discord.js
  • edit config.json with your bot token
  • cd to the src folder in terminal
  • start the bot with command:
node bot.js
  • use discord command: !scrape (USERNAME)

features

  • uses puppeteer to scrape the specified instagram profile
  • returns the first 12 recent posts of a profile through a discord webhook
  • only works on public profiles