Last active
December 10, 2019 11:51
-
-
Save karimelgazar/590a4974c916a8ec3737328ece7166e5 to your computer and use it in GitHub Desktop.
extract the direct links of images in google images search result you should press Ctrl + Shift + j then enter these 2 lines below
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment