Information Gatheringinstagramdownloadersocial-mediaphotosvideosstoriesmetadata

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

bash
sudo apt install instaloader

Flags

--commentsDownload comments for each post
--geotagsDownload geotags for each post
--storiesAlso download stories of each profile that is downloaded. Requires login
--highlightsAlso download highlights of each profile
--taggedAlso download posts where each profile is tagged
--reelsAlso download Reels videos
--igtvAlso download IGTV videos
--login YOUR-USERNAMELogin name (profile name) for your Instagram account
--fast-updateFor each target, stop when encountering the first already-downloaded picture
--no-picturesDo not download post pictures. Cannot be used together with --fast-update
-V, --no-videosDo not download videos
--no-video-thumbnailsDo not download thumbnails of videos
-l, --login YOUR-USERNAMELogin name (profile name) for your Instagram account
-b, --load-cookies BROWSER-NAMEBrowser name to load cookies from Instagram
-q, --quietDisable user interaction, suitable as a cron job

Examples

Download all posts from specified profile, automatically handling renames using unique ID
instaloader profile
Download all followees of profile. Requires login
instaloader @profile
Download all posts with specified hashtag
instaloader "#hashtag"
Download posts from specified location. Requires login
instaloader %location_id
Download stories from your account. Requires login
instaloader :stories
Download pictures from your Instagram feed. Requires login
instaloader :feed
Download your saved media posts. Requires login
instaloader :saved
Download profile posts and stories with authentication
instaloader --login YOUR-USERNAME --stories profile
Updated 2026-04-16kali.org ↗