+ 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

31st Aug 2021, 4:03 PM
David Ordás
David Ordás - avatar
4 Respostas
+ 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 !?
31st Aug 2021, 6:18 PM
Abhay
Abhay - avatar
+ 2
This code may help u But it will work only for google drive https://code.sololearn.com/Wne06iv54u10/?ref=app
31st Aug 2021, 6:18 PM
Pariket Thakur
Pariket Thakur - avatar
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
31st Aug 2021, 10:04 PM
David Ordás
David Ordás - avatar
- 1
Yes, you are right Abhay
31st Aug 2021, 7:08 PM
David Ordás
David Ordás - avatar