Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fix bug in usage of google image search api #1

Closed
wants to merge 1 commit into from

2 participants

@argv0

No description provided.

@seancribbs

Apparently we've already had problems with the "normal" safe-mode being too offensive. Sorry, Andy.

@seancribbs seancribbs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 11, 2011
  1. @argv0

    ++lols

    argv0 authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  scripts/google-images.coffee
View
2  scripts/google-images.coffee
@@ -29,7 +29,7 @@ mustachify = "http://mustachify.me/?src="
imageMe = (msg, query, cb) ->
msg.http('http://ajax.googleapis.com/ajax/services/search/images')
- .query(v: "1.0", rsz: '8', q: query)
+ .query(v: "1.0", rsz: '8', q: query, safe: "off")
.get() (err, res, body) ->
images = JSON.parse(body)
images = images.responseData.results
Something went wrong with that request. Please try again.