I try to use the Java code in the course notebook to extract the URL from google image.
urls = Array.from(document.querySelectorAll('.rg_di .rg_meta')).map(el=>JSON.parse(el.textContent).ou);
window.open('data:text/csv;charset=utf-8,' + escape(urls.join('\n')));
But I only got a blank txt with nothing in it.
Does anyone know how to fix this?
Thanks a lot!