Skip to content

milancodess/tagSpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ•ต๏ธโ€โ™‚๏ธ tagspy

tagspy is a stealthy Instagram story mention extractor built with Puppeteer.
Wanna see whoโ€™s tagged in someoneโ€™s Insta story or highlight? Just drop the link and let tagspy sniff out the mentions for you โ€” fast and easy.


โš™๏ธ Features

  • โœ… Extracts full names and usernames of mentioned users from any public Instagram story
  • ๐Ÿฅท Uses puppeteer-extra with stealth plugin to bypass bot detection
  • ๐Ÿ”’ Session-based login via .env (no scraping without auth)
  • ๐Ÿงช Outputs clean mentions.json file

๐Ÿ›  Installation

git clone https://github.com/milancodess/tagspy.git
cd tagspy
npm install

๐Ÿ” Setup

Create a .env file in the root folder and add your Instagram session ID:

IG_SESSION_ID=your_instagram_sessionid_here

Note: You must be logged in on your browser, open Instagram, and copy the sessionid cookie manually.


๐Ÿš€ Usage

  1. Edit the storyUrl in the script:
const storyUrl = 'PASTE_YOUR_INSTAGRAM_STORY_URL_HERE';
  1. Run the script:
node index.js
  1. Your mentions will be saved in:
mentions.json

Example output:

[
  {
    "full_name": "Milan Bhandari",
    "username": "_milanbhandari_"
  },
  {
    "full_name": "Jeevan R. Magar",
    "username": "jeevan00magar"
  }
]

๐Ÿ‘€ Where to Get Your sessionid

  1. Log in to Instagram in your browser.
  2. Open DevTools (Right click โ†’ Inspect or press F12).
  3. Go to the Application tab โ†’ Cookies โ†’ https://www.instagram.com.
  4. Find and copy the value of the sessionid cookie.
  5. Paste it into your .env file like this:
IG_SESSION_ID=your_session_id_here

โš ๏ธ Disclaimer

  • This tool is intended for educational and personal use only.
  • Respect privacy. Do not use it for unethical surveillance.
  • Use at your own risk. Instagram may update their structure/API anytime.

๐Ÿค– Made with โค๏ธ by Milan Bhandari

About

tagSpy is a stealthy Instagram story mention extractor built with Puppeteer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published