Want to archive Instagram posts and profiles for some reason? Then you might want to look at instaloader.

In the simplest case, after doing a pip3 install instaloader, you can archive a profile using the command:

instaloader profile [profilename ...]

To get higher / full-resolution images, etc., you'll need to run instaloader as a logged-in user, but if you receive the error, Fatal error: JSON Query to accounts/login/: Could not find “window._sharedData” in html response, you might want to try the steps outlined here:

1. First download the script]
2. Login to Instagram in Firefox
3. Execute the snippet, e.g., with python3
4. Then run instaloader -l username [command [arguments ...]]
  • Last modified: 2023-09-10 07:58
  • by Peter