瀏覽代碼

Quoting the entire query works now.

tags/v0.2
Ben Kurtovic 10 年之前
父節點
當前提交
5003c21ff6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      earwigbot/wiki/copyvios/search.py

+ 1
- 1
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",
}



Loading…
取消
儲存