InstaCapture

📸 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:

📌 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