Skip to content

alvivar/instapop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instapop

Simple Instagram image scrapper.

python instapop.py someuser
usage: instapop.py [-h] user

Scraps Instagram images

positional arguments:
  user        User name to scrap

options:
  -h, --help  show this help message and exit

If you choose to use this script, you are doing so entirely at your own risk. The script is intended solely for educational purposes, and I cannot be held responsible for any actions that Instagram may take against you for using it. For example, some users have been unable to log in temporarily (6h~) after downloading approximately 5,000 images in a couple hours.

So, it's uncertain what might happen if you were to use this script excessively.

Be humble.

Authentication

This scripts expects an ".env" file with the following variables:

INSTAGRAM_EMAIL = your_instagram_email
INSTAGRAM_PASSWORD = your_instagram_password

You need to install

pip install pytest-playwright

Then install the required browsers:

playwright install
pip install requests

TODO

  • Needs to rest and fake humanity (User agent).
  • Detect and download new top images without scanning all.
  • Add support for videos.
  • Add support for stories.

About

Simple Instagram scrapper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages