899 B
899 B
GfycatGrab
Budget way of grabbing all Gfycats from your account.
Requirements
- jq
- curl
v7.73.0+
since this script uses the--output-dir
flag: https://daniel.haxx.se/blog/2020/09/10/store-the-curl-output-over-there/
To use the script
- Visit your Gfycat profile page, with your browser's developer console (network tab) open
- Filter URLs by
/me/gfycats
- Copy the JSON response from the "GET" request. Save it as
any-name.json
- If you have more than 100 GIFs in your profile, repeat steps 1-3 for the next page (scroll to bottom), and save it as
any-name-2.json
- Run the script:
./GfycatGrab.sh
- By default the script downloads to
./data
(relative to where the script is saved). - If you want to download to a different directory, specify the
GFYCAT_DIR
environment variable:GFYCAT_DIR=/path/to/where/you/want/download/files ./GfycatGrab.sh
- By default the script downloads to