fix unicode issues
This commit is contained in:
parent
f603c44d6c
commit
8155b0b289
10 changed files with 11 additions and 11 deletions
|
|
@ -50,6 +50,6 @@ class YoujizzBrowser(BaseBrowser):
|
|||
if not pattern:
|
||||
self.home()
|
||||
else:
|
||||
self.location('/search/%s-1.html' % (urllib.quote_plus(pattern)))
|
||||
self.location('/search/%s-1.html' % (urllib.quote_plus(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