diff --git a/weboob/capabilities/video.py b/weboob/capabilities/video.py index c2fb3e09..540512e4 100644 --- a/weboob/capabilities/video.py +++ b/weboob/capabilities/video.py @@ -25,7 +25,7 @@ __all__ = ['ICapVideoProvider', 'Video'] class Video(object): - def __init__(self, _id, title=u'', url=u'', author=u'', duration=0, date=None, rating=0, rating_max=0): + def __init__(self, _id, title=u'', url=u'', author=u'', duration=0, date=None, rating=0, rating_max=0, preview_url=None): self.id = _id self.title = title self.url = url @@ -34,6 +34,7 @@ class Video(object): self.date = date self.rating = rating self.rating_max = rating_max + self.preview_url = preview_url class ICapVideoProvider(ICap): def iter_page_urls(self, mozaic_url):