Selaa lähdekoodia

Tell Yahoo! it's okay to return PDFs.

tags/v0.2
Ben Kurtovic 9 vuotta sitten
vanhempi
commit
b8d55973c9
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      earwigbot/wiki/copyvios/search.py

+ 1
- 1
earwigbot/wiki/copyvios/search.py Näytä tiedosto

@@ -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)


Ladataan…
Peruuta
Tallenna