fix unicode issues

This commit is contained in:
Romain Bignon 2011-05-03 16:44:39 +02:00
commit 8155b0b289
10 changed files with 11 additions and 11 deletions

View file

@ -40,7 +40,7 @@ class IsohuntBrowser(BaseBrowser):
return self.location('https://isohunt.com')
def iter_torrents(self, pattern):
self.location('https://isohunt.com/torrents/%s?iht=-1&ihp=1&ihs1=1&iho1=d' % pattern)
self.location('https://isohunt.com/torrents/%s?iht=-1&ihp=1&ihs1=1&iho1=d' % pattern.encode('utf-8'))
assert self.is_on_page(TorrentsPage)
return self.page.iter_torrents()