follow API

This commit is contained in:
Christophe Benz 2010-04-13 16:48:26 +02:00
commit 90e3ffad1f

View file

@ -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)