Instagram is the most popular images and photos sharing sites. Facebook has acquired Instagram since 2012. The celebrities belonging to the various industries have their profile in the Instagram. Instagram is a image website. User are uploading images. First of all The Instagram user has are increasing daily due to large user base. Sometime it is necessary to download those images. Manually download don’t possible at that movement. it is better to have a plan where all the images can be downloaded using the tool. This tutorial explains and guide you as per requirement.
Prerequisites:
- One of the Enterprise Linux. The Linux Distribution must be installed on your PC. If not installed follow the installation instruction given below
- An Active Internet Connection
Step-I (Installation of Python and GIT)
First of all For Alma / Rocky / Amazon Linux and all RPM based Linux Distributions
yum install python-beautifulsoup4 python-pip python git
Secondly For Ubuntu, LinuxMint, Debian and all DEB based Linux Distributions
apt-get install python-bs4 python-pip python git
Step-II (Installation of Selenium Drivers)
After that install the package using python package manager
pip install selenium
Then To update the selenium drivers if already installed
pip install -u selenium
Step-III (Clone the InstaRaider by using GIT)
Secondly run the git command to clone
git clone https://github.com/akurtovic/InstaRaider
Step-IV (Download the Instagram Images and Photos using InstaRaider)
After that change the working directory
cd InstaRaider
Then load the files using python
python instaRaider.py -u techbrown -c 15
Final Usage of this command
python instaRaider.py -u USERNAME -c COUNTOFIMAGES
Lastly SAMPLE Output
python instaRaider.py -u techbrown -c 15 techbrown has 76 photos on Instagram. Loading Selenium WebDriver... Loading Instagram profile... ........... Raiding Instagram... Saving photos to ./Images/techbrown/ ------ Photos saved so far: ---------10--------20--------30--------40--------50 0 ------ Saved 15 images to ./Images/techbrown/
Lastly To load all Images Images Saved at ./Images/techbrown/
cd /images/techbrown/
ls
Congratulations now you have downloaded the Instagram full size image on Enterprise Linux.