Projects · Tools & libraries
Download Favourite Discord GIFs
Downloads every GIF in a Discord favourites export in parallel, converts video sources to proper GIFs, and names files after what they contain.

$ pip install -r requirements.txt $ python download_gifs.py discord-favorite-gifs.json $ python download_gifs.py favs.json -j 16 --fps 20 --width 480
You can export your Discord favourite GIFs as JSON with a browser console snippet, but Discord won't download them for you. This script does the rest.
- Parallel downloads with retries for rate limits and timeouts, and a separate report of links that are genuinely dead.
- MP4 and WebM sources converted to GIF with a two-pass palette for good colour. Without ffmpeg it still runs and keeps the videos as they are.
- Format detection by magic bytes, so files end up with the extension of what they really are.
- Re-runs skip anything already downloaded, and a tidy-up pass (
--normalize-only) fixes wrong extensions, converts leftover videos and clears out interrupted downloads.
