follow API
This commit is contained in:
parent
57e233cf3b
commit
90e3ffad1f
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class YoutubeBrowser(Browser):
|
|||
regex = re.compile(r'&t=([^ ,&]*)')
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
kwargs['parser'] = LxmlHtmlParser
|
||||
kwargs['parser'] = LxmlHtmlParser()
|
||||
self.PAGES = {r'http://.*\.youtube\.com/watch\?v=(.+)': VideoPage}
|
||||
Browser.__init__(self, *args, **kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue