Sfoglia il codice sorgente

Tell Yahoo! it's okay to return PDFs.

tags/v0.2
Ben Kurtovic 10 anni fa
parent
commit
b8d55973c9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      earwigbot/wiki/copyvios/search.py

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

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


Caricamento…
Annulla
Salva