/img no longer returns any results

Issue #16 resolved
error unknown_ident_0xdeadbeef created an issue

When using the /img cmd no results are currently returned. Seem's like the old API used by the sassy code is no longer available:

http://ajax.googleapis.com/ajax/services/search/images

A quick usage (http://ajax.googleapis.com/ajax/services/search/images/?v=1.0&q=) returns:

{"responseData": null, "responseDetails": "This API is no longer available.", "responseStatus": 403}

I believe the API that should be used is now: https://www.googleapis.com/customsearch/

Would it be possible to update this?

Comments (25)

  1. Robert Bergman Account Deactivated

    I'll look into this as soon as possible, but I'm not sure what the right solution will look like just yet. Thanks for reporting this.

  2. error unknown_ident_0xdeadbeef reporter

    without /img and /anim morale in teams is at an all time low.. just sayin... :-)

  3. Mark

    Definitely a blocker. /anim has been broken for quite awhile too.

    Is the problem that all the search engines are charging money now? Are there no freebies for open-source projects?

  4. Robert Bergman Account Deactivated

    Yeah, major bummer, but not surprising after 5 years, I guess. There are lot of other search apis out there, but most are not free. I need to do some evaluation to see if there's anything usable for free at rates Sassy consumes that also produce good results. I expect it could take a few weeks to find the time to go through that process. If anyone has experience with image search APIs, please let me know what you like.

  5. Joshua Petry

    Imgur has a nice, easy-to-use API. I've used it extremely briefly and didn't really dig too much into it, however. I did have some trouble pulling up specifically animated gifs from it - but I didn't really look much further into why.

  6. A

    Something else to consider - allow/force users to use their own developer key to access the Google custom search API. This would spread the load away from Sassy and have the added benefit of familiarizing users with the new Google search API!

  7. Robert Bergman Account Deactivated

    Certainly anyone can run their own copy of sassy on heroku with their own custom search key. I don't really want to get into the business of storing other people's api credentials on a common of Sassy though, since those keys can be linked to paid accounts.

  8. Robert Bergman Account Deactivated

    I like the look of Imgur, but they have specific non-commercial terms for the free level that concern me. We are investigating some paid options as well, now.

  9. Robert Bergman Account Deactivated

    Ok, we have a plan to get image search back online asap. It could be a few days yet depending on a few factors, but the ball is rolling.

  10. Chelsea Ashe Account Deactivated

    That's great news! (: We're excited that Sassy may soon be back up to her good ol' sassy self.

  11. Robert Bergman Account Deactivated

    Sassy is serving images again, via Google Custom Search. Please let us know how it goes for you.

  12. vivanshah

    Hooray, thanks!

    Any explanation for why the new results don't line up at all with google image search?

  13. Robert Bergman Account Deactivated

    Apparently we had an issue with billing; it should be returning results again now.

    As for the issue of search result quality, I'm unclear why the results are less effective than they used to be -- you'd think with a paid plan the results would be better (shrug). If anyone wants to look at the Google Custom Search API docs and compare with what Sassy sends to see if we can tune up the results, please open a new issue with your findings.

    I think Sassy also needs to start ignoring pixabay.com images since those are entirely useless.

  14. Log in to comment