fix unicode issues
This commit is contained in:
parent
f603c44d6c
commit
8155b0b289
10 changed files with 11 additions and 11 deletions
|
|
@ -47,6 +47,6 @@ class YoupornBrowser(BaseBrowser):
|
|||
if not pattern:
|
||||
self.home()
|
||||
else:
|
||||
self.location(self.buildurl('/search/%s' % sortby, query=pattern))
|
||||
self.location(self.buildurl('/search/%s' % sortby, query=pattern.encode('utf-8')))
|
||||
assert self.is_on_page(IndexPage)
|
||||
return self.page.iter_videos()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue