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 KickassBrowser(BaseBrowser):
|
|||
return self.location('http://kickasstorrents.com')
|
||||
|
||||
def iter_torrents(self, pattern):
|
||||
self.location('http://fr.kickasstorrents.com/new/?q=%s&field=seeders&sorder=desc' % pattern)
|
||||
self.location('http://fr.kickasstorrents.com/new/?q=%s&field=seeders&sorder=desc' % 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