The insta_posts_downloader
is a Python script that allows you to easily download all posts, including images and videos, from any Instagram profile. Whether you want to backup your own Instagram content or save posts from your favorite influencers or friends, this script provides a convenient solution.
The main purpose of this script is to simplify the process of downloading Instagram posts in bulk. Instead of manually saving each post one by one, you can use this script to automate the download process and save time. This can be particularly useful in various scenarios, such as:
The Instagram Posts Downloader script comes with the following key features:
Support for Public and Private Profiles: The script allows you to download posts from both public and private Instagram profiles. For private profiles, you need to provide your own Instagram credentials and ensure that you have been granted access to the profile.
Bulk Download: With this script, you can download all posts from an Instagram profile at once, saving you the effort of manually downloading each post individually.
Easy-to-Use Interface: The script provides a user-friendly command-line interface that guides you through the process of entering the necessary information, such as the Instagram username and your login credentials (if required).
Organized Download: The downloaded posts are automatically saved in a directory named after the Instagram profile, keeping your downloads organized and easily accessible.
Error Handling: The script includes robust error handling to deal with common issues that may arise during the download process, such as invalid credentials, private profiles, or network errors. Informative error messages are provided to help you troubleshoot any problems.
To set up the Instagram Photo Downloader on your system, follow these steps:
instaloader
moduleClone this repository to your local machine:
git clone https://github.com/javedali99/instagram-posts-downloader.git
Navigate to the project directory:
cd instagram-posts-downloader
Install the required dependencies:
pip install instaloader
Using the Instagram Posts Downloader script is straightforward. Simply follow these steps:
Run the script using Python:
python insta_posts_downloader.py
When prompted, enter the Instagram username of the profile you want to download posts from:
Enter the Instagram username to download posts from: username_here
If the profile is private and you need to log in to download posts, enter "yes" when prompted:
Do you need to log in to download posts? (yes/no): yes
If you choose to log in, enter your Instagram username and password when prompted:
Enter your Instagram username: your_username
Enter your Instagram password: your_password
The script will start downloading all posts from the specified profile into a directory with the same name as the Instagram username.
Once the download is complete, you will see a success message:
All posts downloaded successfully from the profile: username_here
This project is licensed under the MIT License. See the LICENSE file for details.