Browse Source

Quoting the entire query works now.

tags/v0.2
Ben Kurtovic 10 years ago
parent
commit
5003c21ff6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/wiki/copyvios/search.py

+ 1
- 1
earwigbot/wiki/copyvios/search.py View File

@@ -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",
}



Loading…
Cancel
Save