When using glitch.com's Download Project tool (Tools > Import and Export > Download Project), the resulting archive does not include project assets that were uploaded to the Glitch CDN.
The download does however include a metadata file .glitch-assets
that lists the project's CDN files.
This script downloads the files listed in a .glitch-assets
file and writes them to a local directory.
# default looks for ./glitch-assets and writes downloaded files to current directory
. scrape-glitch-assets.sh
# specify input file and output directory
. scrape-glitch-assets.sh /path/to/.glitch-assets -o /path/to/output/directory