Gfycat has now closed, so I will be archiving this repo.
The website Gfycat is shutting down on September 1st, 2023.. and with it, it will delete all content.
This project was made in order for me to download Rocket League clips I'd uploaded to the website over the years.
I originally wrote it in Python, but realised that gfycats API only accepted web requests, so I swapped over to javascript.
It now uses an .mjs script in Node.js.
- config.json
is a configuration file for the Node.js script. It must be configured before the script is run.
- You can download Node.js from here: https://nodejs.org/en/download/
- These can be found at: https://developers.gfycat.com/signup/#/apiform
git clone https://github.com/Bradyns/gfycat-downloader.git
- clientSecret
- Your Gfycat Client Secret - Replace with your own client secret ( Example: 'abcdefghijklmnopqrstuvwxyz1234567890' )
- downloadSpeed
- in MB/s (megabytes per second). You can change this value to set the download speed. (Default is set to 0.25 MB/s)
- videoFormat
- The format of the video to download. This can be 'mp4', 'webm', or 'both'. (Default is set to 'webm')
⚠️ Please adhere to Gfycat's API terms of service: https://gfycat.com/api-terms
Windows users, running the batch file will install the dependencies for you, so you can skip Step 2 and run gfycat.bat
.
Once you've installed Node.js, you can install the other dependencies by running the following command:
npm install stream node-fetch fs util stream-throttle progress
Once you've configured config.json
, and installed the dependencies you can run the script by running the following command:
node gfycat-download.mjs
Once the script is run, it will make a new folder called gfycat_downloads
in the same directory as the script.
It will then download all of your gfycat videos into either a webm
or mp4
folder (or both, depending on your choice).
If you have a suggestion or fix, please submit a pull request. I'm still pretty new to this stuff and am all ears.
This project is licensed under the MIT License.
Go ham.
- I'd like to thank the creators of Gfycat for creating such a great website over all these years. ❤️