=========== DISCLAIMER:
This code is posted for informational purposes only. Use of Instagram is governed by the company's Terms of Use (http://instagram.com/legal/terms/). Any user content posted to Instagram is governed by the Privacy Policy (http://instagram.com/legal/privacy/). While I will make all attempts to ensure that InstaRaider works as described below, any future changes to Instragram may introduce errors. If you find a bug or notice that InstaRaider is not working, please feel free to email me at [email protected]
A Python script that uses Selenium WebDriver to automatically download photos for any Instagram user. InstaRaider can download all photos for any public Instagram profile without relying on API calls or user authentication. As long as the user's profile is public, InstaRaider will be able to download a specified number of photos.
@amirkurtovic
Requires Selenium WebDriver and BeautifulSoup modules
This ensures that all dependencies are satisfied on Ubuntu/Debian
sudo apt-get update
sudo apt-get install python-bs4 python-pip python git
sudo pip install selenium
git clone https://github.com/akurtovic/InstaRaider
cd InstaRaider
usage: instaRaider.py [-h] -u USER [-c COUNT]
$ python instaRaider.py -u username -c 25
username has 201 photos on Instagram.
Loading Selenium WebDriver...
Loading Instagram profile...
...........
Raiding Instagram...
Saving photos to ./Images/username/
------
Photos saved so far:
---------10--------20--------30--------40--------50
0 #########################
------
Saved 25 images to ./Images/username/
Copyright (c) 2014 Amir Kurtovic. See the LICENSE file for license rights and limitations (MIT).