code clean

This commit is contained in:
Christophe Benz 2010-04-20 03:05:40 +02:00
commit 8a08c79616
2 changed files with 4 additions and 12 deletions

View file

@ -33,10 +33,6 @@ class YoutubeBrowser(BaseBrowser):
'.*youtube\.com/results\?.*': ResultsPage,
}
def __init__(self, *args, **kwargs):
kwargs['parser'] = LxmlHtmlParser()
BaseBrowser.__init__(self, *args, **kwargs)
def iter_search_results(self, pattern, sortby):
if not pattern:
self.home()