Skip to content

An anonymous Instagram stories, posts, reels, IGTV videos, and profile pictures effortlessly. Supports cookie-based authentication for stories and allows downloading media without authentication for other types.

License

Notifications You must be signed in to change notification settings

prathmeshsoni/InstaCapture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📸 InstaCapture Anonymously Download Instagram Stories, posts, reels, IGTV videos, and profile pictures 🕵️‍♂️📥

Overview

InstaCapture is a Python package for downloading Instagram stories, posts, reels, IGTV videos, and profile pictures. It provides two main modules: InstaStory for handling stories using user cookies and InstaPost for downloading reels, posts, IGTV videos, and profile pictures without requiring cookies.

Features

  • Download Instagram stories using user cookies.
  • Download reels, posts, IGTV videos, and profile pictures without cookies.

Installation

Install the package using pip:

pip install InstaCapture

Usage

Import the Modules

from InstaCapture import InstaStory, InstaPost

Story Download (Requires Cookies)

Example Usage:

cookies = {}

story_obj = InstaStory()
story_obj.cookies = cookies

story_obj.username = 'Enter username or profile link'
story_obj.get_story()

story_obj.username = 'Enter username or profile link'
story_obj.get_story()

How to Get Cookies

  1. Open Chrome and go to Instagram.
  2. Log in to your account.
  3. Right-click anywhere and select Inspect.
  4. Go to the Network tab.
  5. Refresh the page.
  6. Find a request to instagram.com.
  7. Click on the request.
  8. Right-click on the request and select Copy as cURL.
  9. Paste the copied cURL command into a tool like cURL to Python Converter.
  10. Copy the cookies from the converted Python code.
  11. Assign these cookies to the cookies variable in your script.

Reels, Posts, IGTV, and Profile Pictures

Example Usage:

post_obj = InstaPost()

post_obj.reel_id = "Enter Post/Reel URL or code"
post_obj.media_download()

post_obj.reel_id = "Enter another Post/Reel URL or code"
post_obj.media_download()

Notes

  • Ensure your cookies are up to date for downloading stories.
  • For post, reel, IGTV, and profile picture downloads, cookies are not required.

License

This project is licensed under the MIT License.


Author

Created by Prathmesh Soni
For more details, visit GitHub Repo.


Let me know if you'd like any modifications!

About

An anonymous Instagram stories, posts, reels, IGTV videos, and profile pictures effortlessly. Supports cookie-based authentication for stories and allows downloading media without authentication for other types.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published