# GfycatGrab Budget way of grabbing all Gfycats from your account. I haven't tested this very much. Worked fine with my account, since I only have 83 GIFs saved total, so I only had to save one request from my browser. In theory the script will scan every JSON file you have in the directory you run it in, and download every GIF in each JSON file (assuming you follow the steps). ## Requirements 1. jq 2. 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 1. Visit your Gfycat profile page, with your browser's developer console (network tab) open 2. Filter URLs by `/me/gfycats` 3. Copy the JSON response from the "GET" request. Save it as `any-name.json` 4. 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` 5. 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`