πΈ InstaCapture: Anonymously Download Instagram Stories, Posts, Reels, IGTV Videos, and Profile Pictures π΅οΈββοΈπ₯
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:
InstaStoryfor downloading stories (requires user cookies)InstaPostfor downloading reels, posts, IGTV videos, and profile pictures (no cookies required)
π Project Page: InstaCapture on PyPI
π Live Demo: InstaCapture
β
Download Instagram stories using user cookies.
β
Download reels, posts, IGTV videos, and profile pictures without cookies.
β
Simple and easy-to-use Python API.
Install the package using pip:
pip install instacapturefrom instacapture import InstaStory, InstaPostcookies = {}
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()- 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 the cookies to the
cookiesvariable in your script.
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()This project is licensed under the MIT License.
InstaCapture - Provided by Prathmesh Soni