- Your username and your password won't be stored.
- Whether or not you have two factor authentication in your Instagram account or not, this will still work.
- It uses
Selenium
andChrome
- The driver is being asked at the beginning of the program.
- Python 3.6+
- Selenium
- panda
- Chrome Driver for Selenium
- Download the source from Github
git clone https://github.com/trevorbakker-uta/ridley.git
cd ridley
- Install requirements
pip3 install -r requirements.txt
pip3 install panda
- Download the Chrome drivers.
- Download and install
ChromeDriver
- Download ChromeDriver - Moved the ChromeDriver executable to /usr/bin/ (may need sudo) `
- Download and install
Simply call python3 turtle_console.py -v True
Choose the Chrome driver.
It will ask for your Instagram username and password for logging in. Then it will ask for a username which user's photo you want to download.
You can download:
- All user's photos
- Just the last stories you do not have
- Number of photos
usage: turtle_console.py [-h] [-u] [-p] [-d] [-P] [-l] [-D] [-v]
Fetch all the lectures for a Instagram
optional arguments:
-h, --help show this help message and exit
-u , --username User username
-p , --password User password
-d , --driver Choosen Driver. [1]PantomJS [2]Chrome [3]Firefox
-P , --path The path for saving photos.
-l , --list List of Usernames
-D , --download Download choice. [1]Update(Default for list) [2]Full
-v , --video Download videos or not. [True]Download [False] Do Not
Download
-s, --start The start date to start saving posts
-e, --end The end date to start saving posts
For example, to save posts from 1/3/19 to 3/3/19 and my user account is tbakker with password "mypassword"
python3 turtle_console.py -v True -u tbakker -p mypassword -s 2019-01-03 -e 2019-03-03
You will then be prompted for the instagram user to save
This file can be used for saving login data and path for photos. Nothing is saved automatically to here even if you change the file.
- driver : (int) Driver you want to use as default (1 or 2 or 3)
- username : (string) User's username
- password : (string) User's pass
- path : (string) The path for saving photos. Default value is
photos
- Exp :
path/photos
or../path/photos
- Exp :