Skip to main content

A Python package for downloading Instagram videos, posts, stories, and more. This package provides an unofficial scraping functionality to retrieve content from Instagram, similar to saveig.app and https://github.com/sasmeee/igdl (Node.Js)

Project description

PYIGDL

Python Instagram Downloader

A Python package for downloading Instagram videos, posts, stories, and more. This package provides an unofficial scraping functionality to retrieve content from Instagram, similar to saveig.app and https://github.com/sasmeee/igdl (Node.Js). This is not officially supported by Instagram, or owning companies, and is developed for educational purposes of the developer.

Coded by: Vasu Goel

Installation

pip install pyigdl

Link to PyPI project: PYIGDL (Python Instagram Downloader)

How to use

You can use pyigdl as follows

from pyigdl import IGDownloader

data = IGDownloader("https://www.instagram.com/reel/Co3tkGLL8nl/")
print(data[0]["download_link"])

Output

{
  "thumbnail_link": "https://igcdn.xyz/?token=6226c59df70636ccf03a4d2321b78b6300cc33d1ca36cba7988771014c37deba&time=1694700746&file=https%3a%2f%2fscontent.cdninstagram.com%2fv%2ft51.2885-15%2f331591872_138561172439484_5369881234926580154_n.jpg%3fstp%3ddst-jpg_e15_fr_s1080x1080%26_nc_ht%3dscontent.cdninstagram.com%26_nc_cat%3d100%26_nc_ohc%3dzqtUhPwsAhMAX8n7ljB%26edm%3dAPs17CUBAAAA%26ccb%3d7-5%26oh%3d00_AfAavuejyZJjpzRDioX6JZ3J2BYwxSoR9-PoaLyqSMFMwQ%26oe%3d6504A849%26_nc_sid%3d10d13b",
  "download_link": "https://download.ig-13-data.xyz/ig/1694698946/7d4ca892a9425a6d66dbbd3dd5c30efac1309cc485daaf4019c0e8d1c8296cf8?file=aHR0cHM6Ly9zY29udGVudC5jZG5pbnN0YWdyYW0uY29tL3YvdDUwLjI4ODYtMTYvMzMwNzQ5NzAxXzY4OTQwNzY5Mjg3NDI5MV80MDI3MTgzNzE1MzQ4MTQyMjA5X24ubXA0P2VmZz1leUoyWlc1amIyUmxYM1JoWnlJNkluWjBjMTkyYjJSZmRYSnNaMlZ1TGpjeU1DNW1aV1ZrTG1KaGMyVnNhVzVsTG1NeUlpd2ljV1ZmWjNKdmRYQnpJam9pVzF3aWFXZGZkMlZpWDJSbGJHbDJaWEo1WDNaMGMxOXZkR1pjSWwwaWZRJl9uY19odD1zY29udGVudC5jZG5pbnN0YWdyYW0uY29tJl9uY19jYXQ9MTA3Jl9uY19vaGM9WmNjT2F3V2pnSEFBWC1Td0hEVCZlZG09QVBzMTdDVUJBQUFBJnZzPTEyMjU5NDQ5OTEzMzk4NzBfMjI3MjA1Mzg2MyZfbmNfdnM9SEJrc0ZRQVlKRWRCV0ZoMGFFMTZiM0ZOT0VFelRVTkJTVVpaYTBrMVFXSjFUVE5pYTFsTVFVRkJSaFVBQXNnQkFCVUFHQ1JIUWxoTGVWSk9aR3MxUTFoWVVqaERRVXBHTkZNNVRqaENNVzlTWW10WlRFRkJRVVlWQWdMSUFRQW9BQmdBR3dBVkFBQW1qcGE4N0piTTZrQVZBaWdDUXpNc0YwQXhDSEt3SU1TY0dCSmtZWE5vWDJKaGMyVnNhVzVsWHpGZmRqRVJBSFhxQndBJTNEJl9uY19yaWQ9NGVmZWI5NzkwNyZjY2I9Ny01Jm9oPTAwX0FmQkhLZ2JPR0dQZURWVnFpcUFOM0lmLS14REcxYUFQTFV3M3k1Sk1yQWp2Rmcmb2U9NjUwNDVCMzAmX25jX3NpZD0xMGQxM2ImbmFtZT1TYXZlSUcuQXBwXzMwNDIxMDA0NjU5MzYzNTM3NjUubXA0"
}

The response is a list of dictionary. With each dictionary containing 2 keys, thumbnail_link and download_link. These can be accessed for your purpose.

Support

If you find this package useful, please consider putting a star on the GitHub repository to show your support.

License

This project is protected by the MIT License.

Disclaimer

If any complains please contact via goelvasu1999@gmail.com

Acknowledgement

The project is an attempt to replicate the behavior of the npm package igdl from Sasmitha Ashinsana for python language.

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

pyigdl-0.0.14.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

pyigdl-0.0.14-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file pyigdl-0.0.14.tar.gz.

File metadata

  • Download URL: pyigdl-0.0.14.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyigdl-0.0.14.tar.gz
Algorithm Hash digest
SHA256 e35c3cc679843ccdfab533473b516b79f9bd8b26c31e1dc77dd9ff4c64b0b8d8
MD5 a95e4b95dee24746efd048bf4fe9c08e
BLAKE2b-256 a631b641bb59de2415951d9fc53f6ed60bebfdc0d6fae5b0971665aed3c4e3fc

See more details on using hashes here.

File details

Details for the file pyigdl-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: pyigdl-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyigdl-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 5b2d4507799bbfc61b3af62d957c13835d9eb7a7c8f992f9c4884bf295f9c166
MD5 f898df96badefb8fef66fe266dd01e82
BLAKE2b-256 338e5365be391763a7c31dd071e2458cafaf5114ca2c5c881a303c3cd4148d1a

See more details on using hashes here.

Supported by

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