Added config option for specifying services to use.

This commit is contained in:
Sean B. Palmer
2009-06-07 09:57:41 +01:00
parent a06ea9e4ba
commit aafac55f7a
6 changed files with 51 additions and 88 deletions

View File

@@ -23,7 +23,7 @@ def text(html):
return text
def wiktionary(word):
bytes = web.get(uri % word)
bytes = web.get(uri % web.urllib.quote(word.encode('utf-8')))
bytes = r_ul.sub('', bytes)
mode = None