Greasy Fork is available in English.
Discussioni » Sviluppo
Downloading file and decoding from base64
I'm trying to create a script that downloads and converts audio from Google Cloud.
The audio is returned as a json file with wav audio within encoded in base64.
How would I make a script that downloads and decodes only this one specific file?
You can download an example json file from here:
https://mega.nz/#!Tj4UAajK!A-noYxBNGoJIburl77nQ1U3-j0KyJBj33jPBXIcUyLI
There is a lot of info on this: try googling javascript decode base64 into file.
Accedi per pubblicare una risposta.
Downloading file and decoding from base64
I'm trying to create a script that downloads and converts audio from Google Cloud.
The audio is returned as a json file with wav audio within encoded in base64.
How would I make a script that downloads and decodes only this one specific file?
You can download an example json file from here:
https://mega.nz/#!Tj4UAajK!A-noYxBNGoJIburl77nQ1U3-j0KyJBj33jPBXIcUyLI