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

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Έ InstaCapture: Anonymously Download Instagram Stories, Posts, Reels, IGTV Videos, and Profile Pictures πŸ•΅οΈβ€β™‚οΈπŸ“₯

Overview

InstaCapture is a Python package that allows you to anonymously download Instagram stories, posts, reels, IGTV videos, and profile pictures. It provides two main modules:

  • InstaStory for downloading stories (requires user cookies)
  • InstaPost for downloading reels, posts, IGTV videos, and profile pictures (no cookies required)

πŸ“Œ Project Page: InstaCapture on PyPI

πŸ“Œ Live Demo: InstaCapture

Features

βœ… Download Instagram stories using user cookies.
βœ… Download reels, posts, IGTV videos, and profile pictures without cookies.
βœ… Simple and easy-to-use Python API.


Installation

Install the package using pip:

pip install instacapture

Usage

Import the Modules

from instacapture import InstaStory, InstaPost

Download Instagram Stories (Requires Cookies)

Example Usage:

cookies = {}

story_obj = InstaStory()
story_obj.cookies = cookies

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

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

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 the cookies to the cookies variable in your script.

Download Reels, Posts, IGTV, and Profile Pictures (No Cookies Required)

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 when downloading stories. πŸ“Œ For reels, posts, IGTV, and profile pictures, cookies are not required.


License

This project is licensed under the MIT License.


All Set :)

Back To Top

Back To Repository


InstaCapture - Provided by Prathmesh Soni

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published