Python script to scrap an entire profile from instagram (using Deskgram). Download the images, the captions or both in only one command!
Scrap all the photos and captions from an instagram account with just its username:
Usage: main.py [OPTIONS]
Scrap the photos and captions from the posts of a single user
Options:
--images / --no-images Scrap also images.
--captions / --no-captions Scrap also captions.
-u, --user TEXT The account to scrap. [required]
-n, --number INTEGER Number of posts to scrap. (newer posts are
scraped first).
--help Show this message and exit.
Examples:
- Download all images AND captions from account USER:
python main.py --user USER
- Download images only from account USER:
python main.py --user USER --no-captions
- Download captions only from account USER:
python main.py --user USER --no-images
- Print help:
python main.py --help