add support for ls command (videoob -b arretsurimages ls latest)
Signed-off-by: franek <franek@chicour.net>
This commit is contained in:
parent
b6f46ab694
commit
145f3cf2c0
3 changed files with 27 additions and 4 deletions
|
|
@ -64,5 +64,10 @@ class ArretSurImagesBrowser(BaseBrowser):
|
|||
self.page.login(self.username, self.password)
|
||||
|
||||
if not self.is_logged():
|
||||
raise BrowserIncorrectPassword()
|
||||
raise BrowserIncorrectPassword()
|
||||
|
||||
def latest_videos(self):
|
||||
self.location(self.buildurl('/emissions.php'))
|
||||
assert self.is_on_page(IndexPage)
|
||||
return self.page.iter_videos()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue