From 5003c21ff6d80081952cf6244e38fdbf751fe908 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 18 Aug 2014 16:41:23 -0400 Subject: [PATCH] Quoting the entire query works now. --- earwigbot/wiki/copyvios/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/wiki/copyvios/search.py b/earwigbot/wiki/copyvios/search.py index 0b29be7..85be483 100644 --- a/earwigbot/wiki/copyvios/search.py +++ b/earwigbot/wiki/copyvios/search.py @@ -84,7 +84,7 @@ class YahooBOSSSearchEngine(BaseSearchEngine): "oauth_nonce": oauth.generate_nonce(), "oauth_timestamp": oauth.Request.make_timestamp(), "oauth_consumer_key": consumer.key, - "q": query.encode("utf8"), "count": "5", + "q": '"' + query.encode("utf8") + '"', "count": "5", "type": "html,text", "format": "json", }