Greasy Fork is available in English.

Discussioni » Sviluppo

Downloading file and decoding from base64

§
Pubblicato: 02/05/2019

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

wOxxOmMod
§
Pubblicato: 02/05/2019
Modificato: 02/05/2019

There is a lot of info on this: try googling javascript decode base64 into file.

Pubblica risposta

Accedi per pubblicare una risposta.