Skip to content

Commit

Permalink
Bing searches now include "adult" results. Purrr
Browse files Browse the repository at this point in the history
  • Loading branch information
chao-mu committed Feb 26, 2012
1 parent c25f663 commit 7e2f766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/search/bing.rb
Expand Up @@ -22,6 +22,6 @@ def advance_search(last_uri, last_page)
end end


def to_uri(opts) def to_uri(opts)
URI("http://api.bing.net/json.aspx?AppId=#{opts[:app_id]}&Version=2.2&Market=en-US&Query=#{opts[:query]}&Sources=web&Web.Count=50") URI("http://api.bing.net/json.aspx?Adult=Off&AppId=#{opts[:app_id]}&Version=2.2&Market=en-US&Query=#{opts[:query]}&Sources=web&Web.Count=50")
end end
end end

0 comments on commit 7e2f766

Please sign in to comment.