fix encoding of pages
This commit is contained in:
parent
7f81f261a1
commit
21179c116e
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ __all__ = ['YoutubeBrowser']
|
|||
|
||||
class YoutubeBrowser(BaseBrowser):
|
||||
DOMAIN = u'youtube.com'
|
||||
ENCODING = None
|
||||
ENCODING = 'utf-8'
|
||||
PAGES = {r'https?://.*youtube\.com/': BaseYoutubePage,
|
||||
r'https?://.*youtube\.com/watch\?v=(?P<id>.+)': VideoPage,
|
||||
r'https?://.*youtube\.com/index\?ytsession=.+': ForbiddenVideoPage,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue