瀏覽代碼

Tell Yahoo! it's okay to return PDFs.

tags/v0.2
Ben Kurtovic 10 年之前
父節點
當前提交
b8d55973c9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      earwigbot/wiki/copyvios/search.py

+ 1
- 1
earwigbot/wiki/copyvios/search.py 查看文件

@@ -87,7 +87,7 @@ class YahooBOSSSearchEngine(BaseSearchEngine):
"oauth_timestamp": oauth.Request.make_timestamp(),
"oauth_consumer_key": consumer.key,
"q": '"' + query.encode("utf8") + '"', "count": "5",
"type": "html,text", "format": "json",
"type": "html,text,pdf", "format": "json",
}

req = oauth.Request(method="GET", url=url, parameters=params)


Loading…
取消
儲存