instagram-dlpy

A python package to download Instagram posts by URL without needing to login


Keywords
instagram, api
License
GPL-3.0
Install
pip install instagram-dlpy==1.2.0

Documentation

PyPI - Python Version

InstagramDL

A python package to download Instagram posts by URL without needing to login.

Usage

  1. Install the package
$ pip install instagram-dlpy
  1. Import the package
from instagramdl.api import get_post_data
from instagramdl.parser import parse_api_response
  1. Get the post info and then parse it
post_url = ""
raw_data = get_post_data(post_url)
parsed_data = parse_api_response(raw_data)
  1. Download the associated media
parsed_data.download(download_path="./")