Permalink
Browse files

Bing searches now include "adult" results. Purrr

  • Loading branch information...
1 parent c25f663 commit 7e2f766af8f0a8af4751907f2deeafdaecae94b9 @chao-mu committed Feb 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/search/bing.rb
View
2 modules/search/bing.rb
@@ -22,6 +22,6 @@ def advance_search(last_uri, last_page)
end
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

0 comments on commit 7e2f766

Please sign in to comment.