From b8d55973c970a40648657ed342eb518cfe114705 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 14 Oct 2014 01:01:30 -0500 Subject: [PATCH] Tell Yahoo! it's okay to return PDFs. --- 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 8d89960..9ee1995 100644 --- a/earwigbot/wiki/copyvios/search.py +++ b/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)