6

I want to start searching for an image, stored locally, using JavaScript and Google Image (Google Image Link). I know how to do it manually, but I can't figure out how to automate the search through JavaScript. Is that possible? I can't find anything on the Internet and I don't know how to attack the problem.

Thank you for your help and/or your advice.

Ps: Here is an example of a URL obtained after the manual search of an image on Google Image Google Image Search

Bernard
  • 181
  • 2
  • 7
  • I believe this should point in the right direction https://stackoverflow.com/questions/32615926/use-javascript-to-get-a-random-image-from-google-images – picklepirate28 Aug 14 '18 at 18:47
  • Thanks to your answer, I now have a starting point: Google Custom Search with images. I'm going to investigate. Thank you very much. – Bernard Aug 14 '18 at 19:10
  • I think Google Custom Search API doesn't support the feature i am looking for the moment. It allows me to search images using keyword, but it doesn't allow me to search images using an image file. This source seems to confirm what i suppose (https://support.google.com/customsearch/forum/AAAAg_SjYhUWhJnrHVD-mQ/?hl=en). – Bernard Aug 18 '18 at 02:47
  • did you find any solution ? – Alexy Mar 06 '22 at 17:47

0 Answers0