[rmll] do not crash when videoob try to enter in a directory not available on rmll website
This commit is contained in:
parent
f0a3575926
commit
0c4405b4c3
2 changed files with 14 additions and 8 deletions
|
|
@ -67,7 +67,9 @@ class RmllModule(Module, CapVideo, CapCollection):
|
|||
for video in self.browser.get_latest_videos():
|
||||
yield video
|
||||
else:
|
||||
for content in self.browser.get_channel_videos(split_path):
|
||||
yield content
|
||||
channel_videos = self.browser.get_channel_videos(split_path)
|
||||
if channel_videos:
|
||||
for content in channel_videos:
|
||||
yield content
|
||||
|
||||
OBJECTS = {RmllVideo: fill_video}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue