otinstaller · Social media
Install gallery-dl on Windows, macOS, or Linux in one command
gallery-dl downloads image galleries and collections from several hundred sites, including social networks, image boards and art platforms. It can save each post's metadata next to the file, which is what makes it useful for preserving evidence.
gallery-dl in three lines
curl -fsSL https://otinstaller.com/install.sh | sh
ot install gallery-dl
ot run gallery-dl --write-metadata URLOn Windows, replace the first line with irm https://otinstaller.com/install.ps1 | iex in PowerShell.
Runs mikf/gallery-dl (GPL-2.0, ★ 21k, otinstaller 0.3.0). otinstaller installs it as a Python package, pinned to version 1.32.21; it does not change or audit the tool itself.
What gallery-dl is for
- Preserving an image gallery or a profile's posts before they are removed.
- Saving each post's metadata next to the file (--write-metadata).
- Listing the direct file URLs without downloading (-g).
Run gallery-dl with ot
ot run gallery-dl passes everything after the tool's name to gallery-dl unchanged, with input and output passed through, so the project's own documentation applies and tools pipe into each other.
- Download a gallery with a JSON file per image.
ot run gallery-dl --write-metadata URL- Print the image URLs without downloading.
ot run gallery-dl -g URL- Print the metadata as JSON.
ot run gallery-dl -j URL
Where the results go
ot run saves nothing itself: gallery-dl's output goes to your terminal, a pipe, or wherever its own output option writes it. Results can hold personal data, so store and share them accordingly.
Before you run it
- Some sites need cookies or a login of your own before they return anything.
- Downloads can be large. Check a gallery's size with -g before you fetch it.
Update, remove, inspect
ot info gallery-dl # details, and how it installs on this system
ot update gallery-dl # move to the version the registry pins
ot update gallery-dl --latest # take the newest upstream release instead
ot remove gallery-dl # remove itFull reference: the otinstaller docs, gallery-dl on otinstaller.com, and the tool's own project page.
Pairs with
FAQ
gallery-dl with otinstaller, answered
How do I install gallery-dl on Windows, macOS, or Linux?
Install ot once with the one-line script on the otinstaller page, then run ot install gallery-dl. Ot puts it in a Python environment of its own under ~/.ot/uv, apart from your system Python, at version 1.32.21. ot itself needs no administrator rights, and ot doctor checks that every installed tool starts.
How do I run gallery-dl through ot?
With ot run gallery-dl followed by gallery-dl's own arguments, for example: ot run gallery-dl --write-metadata URL. ot passes everything after the tool's name straight through and exits with the tool's exit code, so the project's own documentation applies unchanged. Add ~/.ot/bin to your PATH to call the tool by its own name.
Is gallery-dl part of ot scan?
No. ot scan takes a username, an email address, a domain, or a phone number and runs the tools the registry assigns to that kind of target. Run gallery-dl on its own with ot run gallery-dl.
Does gallery-dl need an API key or a login?
ot stores no key for it. Some sites need cookies or a login of your own before they return anything.
Does gallery-dl send traffic to the target?
The registry lists gallery-dl as passive: it does not probe the target's own systems. Options that do contact the target, where the tool has them, are named under "Before you run it".