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
- Open Chrome and go to Instagram.
- Log in to your account.
- Right-click anywhere and select Inspect.
- Go to the Network tab.
- Refresh the page.
- Find a request to
instagram.com. - Click on the request.
- Right-click on the request and select Copy as cURL.
- Paste the copied cURL command into a tool like cURL to Python Converter.
- Copy the cookies from the converted Python code.
- Assign these cookies to the
cookiesvariable 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d080c03fde55dd645f56d0fa2a76bc1ae94ca537186b50dabcddaf18f7416aa
|
|
| MD5 |
2d3b03562e9b13989e91520d65dcfd72
|
|
| BLAKE2b-256 |
20ef65da0cc6901ce94551f8f572c5b29c330ebe5624336a375f8d6a56320572
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd9ace91ee5742e0316f9d01d2f0439181e59dbcbd024cbe0c8055764600d498
|
|
| MD5 |
43db5c73879ae7a50863f8307c9b33dd
|
|
| BLAKE2b-256 |
a583c37ddce90e9b0fea7467c93558309469eddb9afa00ef8feea56e8b17b1bc
|