A python package to download Instagram posts by URL without needing to login.
- Install the package
$ pip install instagram-dlpy
- Import the package
from instagramdl.api import get_post_data
from instagramdl.parser import parse_api_response
- Get the post info and then parse it
post_url = ""
raw_data = get_post_data(post_url)
parsed_data = parse_api_response(raw_data)
- Download the associated media
parsed_data.download(download_path="./")