InstaSubject is a command-line application written in Python that scrapes and downloads an instagram user's photos and videos and then analyzes them to determine what subjects the user is interested in. Use to analyze employees before hiring Use responsibly.
To install:
$ pip install instagram-scraper
To update:
$ pip install instagram-scraper --upgrade
Alternatively, you can clone the project and run the following command to install: Make sure you cd into the instagram-scraper-master folder before performing the command below.
$ python setup.py install
To analyze images using Amazon Rekognition: upload images downloaded to S3 bucket In S3.py, replace name of bucket and replace credentials of AWS
Run
$ python s3.py
To scrape a user's media:
$ instagram-scraper <username> -u <your username> -p <your password>
NOTE: To scrape a private user's media you must be an approved follower.
By default, downloaded media will be placed in <current working directory>/<username>
.