show page url in videoob search results

This commit is contained in:
Roger Philibert 2010-04-20 23:53:56 +02:00
commit 4cc065e05f
3 changed files with 6 additions and 3 deletions

View file

@ -25,10 +25,12 @@ __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, preview_url=None, nsfw=False):
def __init__(self, _id, title=u'', url=u'', page_url=u'', author=u'', duration=0, date=None,
rating=0, rating_max=0, preview_url=None, nsfw=False):
self.id = _id
self.title = title
self.url = url
self.page_url = page_url
self.author = author
self.duration = duration
self.date = date