Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

ZenitH-AT/discord-fav-gif-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

discord-fav-gif-dl

Downloads all your favourited GIFs on Discord.

Usage

  • Save your GIFFavoritesStore to a file
    • Open Developer Tools in your browser or Discord's desktop application
    • Navigate to the Application tab > Local Storage > https://discord.com > GIFFavoritesStore
      • If using the Discord desktop application, you may need to first enable Developer Tools by adding the following line to your %APPDATA%/discord/settings.json file:

        "DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true
    • Copy the contents of the Value field and save it to a file (e.g. data.json)
  • Download the contents of this repository to your computer
  • Install required packages by running python -m pip install -r requirements.txt
  • Run the script using python get_gifs.py --json-file-path <path to GIFFavoritesStore data file>
    • You can use the --dont-rename-files option to download files with their original names, instead of renaming them to hex strings.
  • Review output directory and failed.txt

Why does this exist?

Have you ever had a moment where you stumble upon the perfect GIF on Discord, that sums up exactly what you're feeling and end up favouriting it? That happens to me on a VERY frequent basis.

However, as I kept favouriting more and more, I realised that there was a limit to how many GIFs I could favourite; the GIFFavoritesStore had a size limit. I didn't want to lose any of my beloved GIFs, so I started looking for a solution.

That's when I came up with the idea of this script. It would allow me to download all my favourited GIFs with short file names so that I could reupload them to another site with shorter URLs (since Tenor and Discord links tend to be quite lengthy).

About

Downloads all your favourited GIFs on Discord.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages