OSINT tool
Install gallery-dl on Windows, macOS and Linux
Download image galleries and their metadata from social and hosting sites.
ot install gallery-dlgallery-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.
How to install gallery-dl
ot install gallery-dlot installs gallery-dl 1.32.21 with uv into a Python environment of its own under ~/.ot, so it cannot conflict with your system Python or with any other tool.
New to ot? It is one command to install, shown below.
How to use gallery-dl
Arguments after the tool's name go straight to gallery-dl, so its own documentation applies unchanged.
Download a gallery with a JSON file per image.
ot run gallery-dl --write-metadata URLPrint the image URLs without downloading.
ot run gallery-dl -g URLPrint the metadata as JSON.
ot run gallery-dl -j URLot run gallery-dl --help lists every option. The project's own documentation is at github.com/mikf/gallery-dl.
An AI agent can run gallery-dl too: ot mcp serves it over the Model Context Protocol. See OSINT with AI agents.
gallery-dl licence, platforms and versions
| Project | https://github.com/mikf/gallery-dl |
| Licence | GPL-2.0 |
| Runs on | Windows, macOS and Linux |
| Takes | url |
| Sends traffic to the target | No |
| Python package | gallery-dl 1.32.21, in its own isolated environment |
Questions about gallery-dl
How do I install gallery-dl on Windows?
Open PowerShell and install ot with irm https://otinstaller.com/install.ps1 | iex. Then run ot install gallery-dl. ot fetches a pinned version of gallery-dl and keeps it under ~/.ot, apart from the rest of your system.
Is gallery-dl free?
Yes. gallery-dl is open source, released under the GPL-2.0 licence. ot, which installs it, is free under the Apache 2.0 licence.
Do I need to set up Python to use gallery-dl?
No. ot installs gallery-dl with uv into a virtual environment of its own, separate from your system Python. If uv is not installed, ot fetches its own copy first.
How do I update or remove gallery-dl?
ot update gallery-dl moves it to the version pinned in ot's registry, and ot update gallery-dl --latest to the newest upstream release. ot remove gallery-dl uninstalls it.
Install ot
curl -fsSL https://otinstaller.com/install.sh | shirm https://otinstaller.com/install.ps1 | iexRun it in PowerShell.
Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.
Tools related to gallery-dl
More: Social media OSINT tools, File, image and media OSINT tools