IMPORTANT NOTE
This repo is no longer updating.
Please use the newest and fastest Rabbitgram instead.
Selenium
and three different browsers which are Chrome
, Firefox
and PhantomJS
Chrome
or Firefox
PhantomJs
git clone https://github.com/serhattsnmz/turtle.git
cd turtle
pip install -r requirements.txt
PhantomJs
(Opsional)
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
tar xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2
sudo cp /path/to/phantom/untar/bin/phantomjs /usr/bin/
PhantomJS
with link below :
path\phantomjs-2.1.1-windows\bin\phantomjs.exe
file to C:\Program Files (x86)\Python36-32\Scripts
ChromeDriver
(Optional)
path\chromedriver.exe
file to C:\Program Files (x86)\Python36-32\Scripts
GeckoDriver
for Firefox (Optional)
wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz
tar -xvzf geckodriver*
chmod +x geckodriver
sudo cp /path/to/geckoDriver /usr/bin/
GeckoDriver
with link below :
path\geckodriver.exe
file to C:\Program Files (x86)\Python36-32\Scripts
python3 turtle_console.py
Simply call python turtle_console.py
First you have to choose a driver, PhantomJs, Firefox or Chrome.
It will ask for your Instagram username and password for logging in (If you did not define them in config.js). Then it will ask for a username which user's photos you want to download.
You can download:
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(Default)
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.
photos
path/photos
or ../path/photos