![PyPI - Python Version](https://img.shields.io/pypi/pyversions/instagram-dlpy)
# InstagramDL
A python package to download Instagram posts by URL without needing to login.
## Usage
1. Install the package
```bash
$ pip install instagram-dlpy
```
2. Import the package
```python
from instagramdl.api import get_post_data
from instagramdl.parser import parse_api_response
```
3. Get the post info and then parse it
```python
post_url = ""
raw_data = get_post_data(post_url)
parsed_data = parse_api_response(raw_data)
```
4. Download the associated media
```python
parsed_data.download(download_path="./")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Fluxticks/InstagramDL",
"name": "instagram-dlpy",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "instagram, api",
"author": "Fluxticks",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/47/80/adea82293293899869f9ef3f4dc7e549d9c6c8055a2f4d077c52ccfe1fe6/instagram-dlpy-1.1.0.tar.gz",
"platform": null,
"description": "![PyPI - Python Version](https://img.shields.io/pypi/pyversions/instagram-dlpy)\n\n# InstagramDL\n\nA python package to download Instagram posts by URL without needing to login.\n\n## Usage\n\n1. Install the package\n\n```bash\n$ pip install instagram-dlpy\n```\n\n2. Import the package\n\n```python\nfrom instagramdl.api import get_post_data\nfrom instagramdl.parser import parse_api_response\n```\n\n3. Get the post info and then parse it\n\n```python\npost_url = \"\"\nraw_data = get_post_data(post_url)\nparsed_data = parse_api_response(raw_data)\n```\n\n4. Download the associated media\n\n```python\nparsed_data.download(download_path=\"./\")\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "A python package to download Instagram posts by URL without needing to login",
"version": "1.1.0",
"project_urls": {
"Download": "https://github.com/Fluxticks/InstagramDL/archive/v1.1.0.tar.gz",
"Homepage": "https://github.com/Fluxticks/InstagramDL"
},
"split_keywords": [
"instagram",
" api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4780adea82293293899869f9ef3f4dc7e549d9c6c8055a2f4d077c52ccfe1fe6",
"md5": "124ee8781bb33a7640885d9f33a511a7",
"sha256": "9a3cd311744195173a9e7f7fa10a1d3dcaafd87a70ba61d734e17ff9a0db99e1"
},
"downloads": -1,
"filename": "instagram-dlpy-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "124ee8781bb33a7640885d9f33a511a7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18802,
"upload_time": "2024-04-09T22:17:21",
"upload_time_iso_8601": "2024-04-09T22:17:21.051028Z",
"url": "https://files.pythonhosted.org/packages/47/80/adea82293293899869f9ef3f4dc7e549d9c6c8055a2f4d077c52ccfe1fe6/instagram-dlpy-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-09 22:17:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Fluxticks",
"github_project": "InstagramDL",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "requests",
"specs": []
}
],
"lcname": "instagram-dlpy"
}