Instaloader
Instaloader is an Instagram automatic photo downloader that retrieves public and private profiles, hashtags, stories, feeds, and saved media along with comments, geotags, and captions. It supports resuming interrupted downloads and automatically handles profile name changes.
Description
Instaloader is designed to download pictures, videos, and associated metadata from Instagram, including public and private content when properly authenticated. It creates organized folders for each target such as profiles, hashtags, or feeds, and supports downloading stories, highlights, tagged posts, Reels, and IGTV content. The tool is particularly useful for archiving personal Instagram data or collecting content from specific hashtags and locations.
Key features include fast-update mode to resume downloads efficiently, automatic detection of profile renames using unique IDs, and customizable filename patterns for organized storage. It handles session management through cookies or login credentials, enabling access to private profiles without repeated password entry. The tool is suitable for both one-time bulk downloads and periodic updates via cron jobs.
Instaloader excels in scenarios requiring comprehensive Instagram data collection, such as digital forensics, social media monitoring, or personal archiving. Its ability to preserve metadata like captions, comments, and geotags makes it valuable for analysis while its resume capability ensures reliability for large-scale operations.
How It Works
Instaloader authenticates with Instagram using session cookies or username login, storing credentials securely for reuse. It scrapes targets via Instagram's web interface, parsing JSON responses to extract media URLs, captions, comments, and metadata. Downloads are organized into target-specific directories with customizable naming patterns using placeholders like {profile} and {target}. The tool maintains timestamp files for efficient fast-update operations and unique profile IDs to handle name changes, resuming interrupted sessions by checking existing local files.
Installation
sudo apt install instaloaderFlags
Examples
instaloader profileinstaloader @profileinstaloader "#hashtag"instaloader %location_idinstaloader :storiesinstaloader :feedinstaloader :savedinstaloader --login YOUR-USERNAME --stories profile