Skip to content

Instaloader

Instaloader is a tool to download pictures (or videos) along with their captions and other metadata from Instagram. This module wraps instaloader in a systemd service for periodic downloads.

View the nix-core NixOS module on GitHub.

References

Troubleshooting

Password authentication does not work

This is a known issue in version 4.14.x. You should provide a session file containing a browser cookie:

  1. Install instaloader (the package is sufficient) on your client machine.
  2. Log into Instagram in any Firefox based browser. Here, LibreWolf is used.
  3. Load cookies: instaloader --load-cookies LibreWolf
  4. Copy your session file to your server running the nix-core instaloader module:
    • From: ~/.config/instaloader/session-<your_ig_user>
    • To: /var/lib/instaloader/.config/session-<your_ig_user>

See this issue for more information.