google-search icon indicating copy to clipboard operation
google-search copied to clipboard

Google::Search::Image Returning 0 results

Open ScottieR opened this issue 9 years ago • 7 comments

Over the last two days Google::Search::Image.new(:query => "anything") has been returning 0 results. I haven't touched any part of my google search code, and the results used to return perfectly. Google::Search::Web also still works. Is this specific to my app or has something happened with Google? Thanks for your help, great gem!

ScottieR avatar Dec 03 '15 05:12 ScottieR

Google image search is deprecated now Use your own custom search...

tuytoosh avatar Dec 03 '15 09:12 tuytoosh

@ScottieR Got any workaround ?

satheshhmax avatar Dec 26 '15 10:12 satheshhmax

@ScottieR @tuytoosh what's our workaround here, how do you create your own custom search?

djbuen avatar Jan 18 '16 13:01 djbuen

@ScottieR @satheshhmax I am using google text search API and I am getting images form websites that are in google first page without google image api.

tuytoosh avatar Jan 18 '16 21:01 tuytoosh

@tuytoosh what do you mean by google text search API? which gem is that?

djbuen avatar Jan 19 '16 01:01 djbuen

@ScottieR @tuytoosh I implemented Google Custom Search API and fixed the image search issue. It works as expected. https://github.com/wiseleyb/google_custom_search_api

satheshhmax avatar Jan 19 '16 05:01 satheshhmax

@satheshhmax @tuytoosh @ScottieR I can make this work again

djbuen avatar Mar 26 '16 18:03 djbuen