Javascript issue while downloading images

this was the only solution that worked for me, thanks a lot :slight_smile:

1 Like

only this solution worked for me

1 Like

thanks. out of 5 other solutions only this worked for me

Still I find that file empty.

try my code in Chrome
var urls=Array.from(document.querySelectorAll('.rg_i')).map(el=> el.hasAttribute('data-src')?el.getAttribute('data-src'):el.getAttribute('data-iurl')); var hiddenElement = document.createElement('a'); hiddenElement.href = 'data:text/csv;charset=utf-8,' + encodeURI(urls.join('\n')); = '_blank'; = 'myFile.csv';;

I am stuck on the same problem. I tried all the solutions provided on this conversation but the links are encrypted and not similar in any way to what Jeremy showed in his lecture. The initial 10-12 lines in the file are blank and the links are like -

Also, I am using Microsoft Edge Chromium, is it necessary to use Google Chorme?