this was the only solution that worked for me, thanks a lot
only this solution worked for me
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')); hiddenElement.target = '_blank'; hiddenElement.download = 'myFile.csv'; hiddenElement.click();
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?