Archiving Instagram with Instaloader
As part of the project Best practices for social media archiving in Flanders and Brussels, several tools were tested to archive different social media platforms.
This publication describes the tool Instaloader. Instaloader is used to archive content from Instagram, including private profiles, hashtags, user stories, feeds and saved media, comments, geotags and captions of each post, and more.
|Licentie=CC-BY-SA
- downloads public and private profiles, hashtags, user stories, feeds and saved media.
- downloads reactions, geotags and captions of each post.
- automatically detects profile name changes and renames the target folder accordingly.
- automatically resumes previously interrupted download iterations.
- Terminal
- Python 3.5 or higher
Installation
pip3 install instaloader
Usage
instaloader options idvantargetidvantarget: the account name in the URL of the account.
Example:

Archiving an Instagram account
command:instaloader artinflanders.be
This command ensures that all posts and the current profile picture are downloaded.

This is a selection of options, the full list can be found here.
--storiesor-s: Option to also retrieve user stories along with the profile picture and posts. Requires the--loginoption. Example:instaloader artinflanders.be --stories --login
note that this example will still download the profile picture and the posts, only then the stories. To download only stories use--no-postsand--no-profile-pic--no-profile-pic: Option to skip downloading the profile picture.--no-posts: Download content from an account except for the posts. Example:instaloader --login=yourusername idvantarget --no-posts--highlights: Use this option to download the highlights of that profile. Requires the--loginoption.--tagged: Download posts in which the user is tagged.--igtv: Option to download IGTV videos.--commentsor-C: Download and update comments for each post. This requires an extra request to the Instagram server for each post, therefore it is disabled by default.--login: This option expects a space followed by the Instagram username / ID of the executor. Example:instaloader --login IDofexecutor --stories -C idvantarget
Notes
To archive private Instagram accounts as well as archiving stories and highlights, it is necessary to provide your own account name / ID (--login) in the command. Instaloader can use this information to gain access to the content of the target account.
An Instagram account with Two Factor Authentication (2FA) enabled cannot be used to provide authentication details in an Instaloader command.
Persistente URI:
https://id.kbde.be/01968187-bddf-7050-bb6e-7f837a6a7f15Organisatie
Licentie
- CC-BY-SA
Type
Medium
Deze pagina is laatst aangepast op 03 oktober 2025
Deze pagina aanvullen of corrigeren?
Foutje gespot? Of heb je aanvullende inzichten? Deel je ervaringen via onderstaande knop.
Zie je geen video? Pas dan je cookieinstellingen aan onderaan deze pagina: Cookie policy Klik op ‘verander uw toestemming’ vlak boven de tabel en vink ‘voorkeuren’ en ‘statistieken’ aan.