1
0
Fork 0

syno: CRISCO now speaks utf-8

This commit is contained in:
nemunaire 2017-07-01 19:03:07 +02:00 committed by nemunaire
parent 7a48dc2cef
commit c8c9112b0f
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ def load(context):
# MODULE CORE #########################################################
def get_french_synos(word):
url = "http://www.crisco.unicaen.fr/des/synonymes/" + quote(word.encode("ISO-8859-1"))
url = "http://www.crisco.unicaen.fr/des/synonymes/" + quote(word)
page = web.getURLContent(url)
best = list(); synos = list(); anton = list()