Explorar el Código

Quoting the entire query works now.

tags/v0.2
Ben Kurtovic hace 10 años
padre
commit
5003c21ff6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      earwigbot/wiki/copyvios/search.py

+ 1
- 1
earwigbot/wiki/copyvios/search.py Ver fichero

@@ -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",
}



Cargando…
Cancelar
Guardar