vimeo: Get author
This commit is contained in:
parent
edf72dfb33
commit
34334f7deb
1 changed files with 2 additions and 1 deletions
|
|
@ -89,6 +89,7 @@ class VideoPage(BasePage):
|
||||||
v.title = unicode(data['video']['title'])
|
v.title = unicode(data['video']['title'])
|
||||||
if v.thumbnail is None:
|
if v.thumbnail is None:
|
||||||
v.thumbnail = Thumbnail(unicode(data['video']['thumbnail']))
|
v.thumbnail = Thumbnail(unicode(data['video']['thumbnail']))
|
||||||
|
v.author = data['video']['owner']['name']
|
||||||
v.duration = datetime.timedelta(seconds=int(data['video']['duration']))
|
v.duration = datetime.timedelta(seconds=int(data['video']['duration']))
|
||||||
|
|
||||||
# determine available codec and quality
|
# determine available codec and quality
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue