Skip to main content

A Python package for downloading Instagram stories, posts, reels, IGTV videos, and profile pictures

Project description

📸 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.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 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!


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

instacapture-2.0.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

instacapture-2.0.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file instacapture-2.0.0.tar.gz.

File metadata

  • Download URL: instacapture-2.0.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for instacapture-2.0.0.tar.gz
Algorithm Hash digest
SHA256 3d080c03fde55dd645f56d0fa2a76bc1ae94ca537186b50dabcddaf18f7416aa
MD5 2d3b03562e9b13989e91520d65dcfd72
BLAKE2b-256 20ef65da0cc6901ce94551f8f572c5b29c330ebe5624336a375f8d6a56320572

See more details on using hashes here.

File details

Details for the file instacapture-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: instacapture-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for instacapture-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd9ace91ee5742e0316f9d01d2f0439181e59dbcbd024cbe0c8055764600d498
MD5 43db5c73879ae7a50863f8307c9b33dd
BLAKE2b-256 a583c37ddce90e9b0fea7467c93558309469eddb9afa00ef8feea56e8b17b1bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page