Bladeren bron

Quoting the entire query works now.

tags/v0.2
Ben Kurtovic 10 jaren geleden
bovenliggende
commit
5003c21ff6
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      earwigbot/wiki/copyvios/search.py

+ 1
- 1
earwigbot/wiki/copyvios/search.py Bestand weergeven

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



Laden…
Annuleren
Opslaan