code clean
This commit is contained in:
parent
44b57a775d
commit
8a08c79616
2 changed files with 4 additions and 12 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue