Skip to content

yfe404/instagram-scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instagram-Scraping

Python script to scrap an entire profile from instagram (using Deskgram). Download the images, the captions or both in only one command!

Usage

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

Releases

No releases published

Packages

No packages published

Languages