Resources download using Javascript | Sololearn: Learn to code for FREE!

+6

Resources download using Javascript

I want to download an image or other kind of resources storaged on a website to my device using Javascript. I have URL of the image. Is there any way to achieve this using Javascript alone? And download multiple? It's possible make a zip before download? The work I have already done: https://gist.github.com/davorpa/8201479803ff2a9bcc93a76a8fe71e43#file-export-github-repo-labels-js-L47

8/31/2021 4:03:45 PM

David Ordás

4 Answers

New Answer

+3

So you want to make a zip of images and have them downloaded on your device from website using just javascript on frontend and no server side scripting , right !?

+2

This code may help u But it will work only for google drive https://code.sololearn.com/Wne06iv54u10/?ref=app

0

HrCoder I refers to download each file and build a zip on the flow is to improve my labels scrapper. https://gist.github.com/davorpa/8201479803ff2a9bcc93a76a8fe71e43#file-export-github-repo-labels-js browsers alerts when you try multidownload using Javascript

-1

Yes, you are right Abhay