InstaCapture


NameInstaCapture JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/prathmeshsoni/InstaCapture
SummaryA Python package for downloading Instagram stories, posts, reels, IGTV videos, and profile pictures
upload_time2024-12-23 12:34:33
maintainerNone
docs_urlNone
authorPrathmesh Soni
requires_python>=3.6
licenseMIT
keywords instagram downloader stories reels posts
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 📸 InstaCapture Anonymously Download Instagram Stories, posts, reels, IGTV videos, and profile pictures 🕵️‍♂️📥

<p id="top" align="right">
  <a href="https://github.com/PrathmeshSoni">
  <img src="https://badges.pufler.dev/visits/prathmeshsoni/InstaCapture?label=VISITOR&style=for-the-badge&logoColor=FFFFFF&color=purple&labelColor=640464&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IndoaXRlIiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBjbGFzcz0ib2N0aWNvbiBvY3RpY29uLWV5ZSIgYXJpYS1oaWRkZW49InRydWUiPjxwYXRoIGQ9Ik04IDJjMS45ODEgMCAzLjY3MS45OTIgNC45MzMgMi4wNzggMS4yNyAxLjA5MSAyLjE4NyAyLjM0NSAyLjYzNyAzLjAyM2ExLjYyIDEuNjIgMCAwIDEgMCAxLjc5OGMtLjQ1LjY3OC0xLjM2NyAxLjkzMi0yLjYzNyAzLjAyM0MxMS42NyAxMy4wMDggOS45ODEgMTQgOCAxNGMtMS45ODEgMC0zLjY3MS0uOTkyLTQuOTMzLTIuMDc4QzEuNzk3IDEwLjgzLjg4IDkuNTc2LjQzIDguODk4YTEuNjIgMS42MiAwIDAgMSAwLTEuNzk4Yy40NS0uNjc3IDEuMzY3LTEuOTMxIDIuNjM3LTMuMDIyQzQuMzMgMi45OTIgNi4wMTkgMiA4IDJaTTEuNjc5IDcuOTMyYS4xMi4xMiAwIDAgMCAwIC4xMzZjLjQxMS42MjIgMS4yNDEgMS43NSAyLjM2NiAyLjcxN0M1LjE3NiAxMS43NTggNi41MjcgMTIuNSA4IDEyLjVjMS40NzMgMCAyLjgyNS0uNzQyIDMuOTU1LTEuNzE1IDEuMTI0LS45NjcgMS45NTQtMi4wOTYgMi4zNjYtMi43MTdhLjEyLjEyIDAgMCAwIDAtLjEzNmMtLjQxMi0uNjIxLTEuMjQyLTEuNzUtMi4zNjYtMi43MTdDMTAuODI0IDQuMjQyIDkuNDczIDMuNSA4IDMuNWMtMS40NzMgMC0yLjgyNS43NDItMy45NTUgMS43MTUtMS4xMjQuOTY3LTEuOTU0IDIuMDk2LTIuMzY2IDIuNzE3Wk04IDEwYTIgMiAwIDEgMS0uMDAxLTMuOTk5QTIgMiAwIDAgMSA4IDEwWiI+PC9wYXRoPjwvc3ZnPg==">
  </a> 
</p>

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

```bash
pip install InstaCapture
```

---

## Usage

### Import the Modules
```python
from InstaCapture import InstaStory, InstaPost
```

---

### **Story Download (Requires Cookies)**

#### Example Usage:
```python
cookies = {}

story_obj = InstaStory()
story_obj.cookies = cookies

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

story_obj.username = 'Enter username or profile link'
story_obj.get_story()
```

#### **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](https://curlconvert.vercel.app/).
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:
```python
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](LICENSE).

---

## Author
Created by **Prathmesh Soni**  
For more details, visit [GitHub Repo](https://github.com/prathmeshsoni/InstaCapture).
```

Let me know if you'd like any modifications!

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/prathmeshsoni/InstaCapture",
    "name": "InstaCapture",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "Instagram downloader stories reels posts",
    "author": "Prathmesh Soni",
    "author_email": "info@soniprathmesh.com",
    "download_url": "https://files.pythonhosted.org/packages/30/df/fc8fd16dcad76efee29cc23f531534aa52da854dfdd881184a424f87b51f/InstaCapture-0.1.0.tar.gz",
    "platform": null,
    "description": "# \ud83d\udcf8 InstaCapture Anonymously Download Instagram Stories, posts, reels, IGTV videos, and profile pictures \ud83d\udd75\ufe0f\u200d\u2642\ufe0f\ud83d\udce5\r\n\r\n<p id=\"top\" align=\"right\">\r\n  <a href=\"https://github.com/PrathmeshSoni\">\r\n  <img src=\"https://badges.pufler.dev/visits/prathmeshsoni/InstaCapture?label=VISITOR&style=for-the-badge&logoColor=FFFFFF&color=purple&labelColor=640464&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IndoaXRlIiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBjbGFzcz0ib2N0aWNvbiBvY3RpY29uLWV5ZSIgYXJpYS1oaWRkZW49InRydWUiPjxwYXRoIGQ9Ik04IDJjMS45ODEgMCAzLjY3MS45OTIgNC45MzMgMi4wNzggMS4yNyAxLjA5MSAyLjE4NyAyLjM0NSAyLjYzNyAzLjAyM2ExLjYyIDEuNjIgMCAwIDEgMCAxLjc5OGMtLjQ1LjY3OC0xLjM2NyAxLjkzMi0yLjYzNyAzLjAyM0MxMS42NyAxMy4wMDggOS45ODEgMTQgOCAxNGMtMS45ODEgMC0zLjY3MS0uOTkyLTQuOTMzLTIuMDc4QzEuNzk3IDEwLjgzLjg4IDkuNTc2LjQzIDguODk4YTEuNjIgMS42MiAwIDAgMSAwLTEuNzk4Yy40NS0uNjc3IDEuMzY3LTEuOTMxIDIuNjM3LTMuMDIyQzQuMzMgMi45OTIgNi4wMTkgMiA4IDJaTTEuNjc5IDcuOTMyYS4xMi4xMiAwIDAgMCAwIC4xMzZjLjQxMS42MjIgMS4yNDEgMS43NSAyLjM2NiAyLjcxN0M1LjE3NiAxMS43NTggNi41MjcgMTIuNSA4IDEyLjVjMS40NzMgMCAyLjgyNS0uNzQyIDMuOTU1LTEuNzE1IDEuMTI0LS45NjcgMS45NTQtMi4wOTYgMi4zNjYtMi43MTdhLjEyLjEyIDAgMCAwIDAtLjEzNmMtLjQxMi0uNjIxLTEuMjQyLTEuNzUtMi4zNjYtMi43MTdDMTAuODI0IDQuMjQyIDkuNDczIDMuNSA4IDMuNWMtMS40NzMgMC0yLjgyNS43NDItMy45NTUgMS43MTUtMS4xMjQuOTY3LTEuOTU0IDIuMDk2LTIuMzY2IDIuNzE3Wk04IDEwYTIgMiAwIDEgMS0uMDAxLTMuOTk5QTIgMiAwIDAgMSA4IDEwWiI+PC9wYXRoPjwvc3ZnPg==\">\r\n  </a> \r\n</p>\r\n\r\n## Overview\r\n**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.\r\n\r\n## Features\r\n- Download Instagram stories using user cookies.\r\n- Download reels, posts, IGTV videos, and profile pictures without cookies.\r\n\r\n---\r\n\r\n## Installation\r\nInstall the package using pip:\r\n\r\n```bash\r\npip install InstaCapture\r\n```\r\n\r\n---\r\n\r\n## Usage\r\n\r\n### Import the Modules\r\n```python\r\nfrom InstaCapture import InstaStory, InstaPost\r\n```\r\n\r\n---\r\n\r\n### **Story Download (Requires Cookies)**\r\n\r\n#### Example Usage:\r\n```python\r\ncookies = {}\r\n\r\nstory_obj = InstaStory()\r\nstory_obj.cookies = cookies\r\n\r\nstory_obj.username = 'Enter username or profile link'\r\nstory_obj.get_story()\r\n\r\nstory_obj.username = 'Enter username or profile link'\r\nstory_obj.get_story()\r\n```\r\n\r\n#### **How to Get Cookies**\r\n1. Open Chrome and go to Instagram.\r\n2. Log in to your account.\r\n3. Right-click anywhere and select **Inspect**.\r\n4. Go to the **Network** tab.\r\n5. Refresh the page.\r\n6. Find a request to `instagram.com`.\r\n7. Click on the request.\r\n8. Right-click on the request and select **Copy as cURL**.\r\n9. Paste the copied cURL command into a tool like [cURL to Python Converter](https://curlconvert.vercel.app/).\r\n10. Copy the cookies from the converted Python code.\r\n11. Assign these cookies to the `cookies` variable in your script.\r\n\r\n---\r\n\r\n### **Reels, Posts, IGTV, and Profile Pictures**\r\n\r\n#### Example Usage:\r\n```python\r\npost_obj = InstaPost()\r\n\r\npost_obj.reel_id = \"Enter Post/Reel URL or code\"\r\npost_obj.media_download()\r\n\r\npost_obj.reel_id = \"Enter another Post/Reel URL or code\"\r\npost_obj.media_download()\r\n```\r\n\r\n---\r\n\r\n## Notes\r\n- Ensure your cookies are up to date for downloading stories.\r\n- For post, reel, IGTV, and profile picture downloads, cookies are not required.\r\n\r\n---\r\n\r\n## License\r\nThis project is licensed under the [MIT License](LICENSE).\r\n\r\n---\r\n\r\n## Author\r\nCreated by **Prathmesh Soni**  \r\nFor more details, visit [GitHub Repo](https://github.com/prathmeshsoni/InstaCapture).\r\n```\r\n\r\nLet me know if you'd like any modifications!\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python package for downloading Instagram stories, posts, reels, IGTV videos, and profile pictures",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/prathmeshsoni/InstaCapture"
    },
    "split_keywords": [
        "instagram",
        "downloader",
        "stories",
        "reels",
        "posts"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2a9e6421dedcf463b65cfbf2dea33a4adf237d56e2d8eb1769f1e11edfd82a3b",
                "md5": "8835cda9ad008a7cc38c87834dbdf10b",
                "sha256": "1cb1e7529d94cb40fe1391d37a5d84001dc1524923f26e84d0971f6f942b9a5b"
            },
            "downloads": -1,
            "filename": "InstaCapture-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8835cda9ad008a7cc38c87834dbdf10b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 13957,
            "upload_time": "2024-12-23T12:34:30",
            "upload_time_iso_8601": "2024-12-23T12:34:30.159556Z",
            "url": "https://files.pythonhosted.org/packages/2a/9e/6421dedcf463b65cfbf2dea33a4adf237d56e2d8eb1769f1e11edfd82a3b/InstaCapture-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30dffc8fd16dcad76efee29cc23f531534aa52da854dfdd881184a424f87b51f",
                "md5": "e97a380ce03a691339b077ff8d462d45",
                "sha256": "fa8895c40452d1a35acbcce223c235b7cf4759f182d6da33514df7c96770d78e"
            },
            "downloads": -1,
            "filename": "InstaCapture-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e97a380ce03a691339b077ff8d462d45",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 11436,
            "upload_time": "2024-12-23T12:34:33",
            "upload_time_iso_8601": "2024-12-23T12:34:33.920604Z",
            "url": "https://files.pythonhosted.org/packages/30/df/fc8fd16dcad76efee29cc23f531534aa52da854dfdd881184a424f87b51f/InstaCapture-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-23 12:34:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "prathmeshsoni",
    "github_project": "InstaCapture",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "instacapture"
}
        
Elapsed time: 0.70011s