fix unicode issues
This commit is contained in:
parent
f603c44d6c
commit
8155b0b289
10 changed files with 11 additions and 11 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue