Pluzz: fix backend for News video ONLY
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
This commit is contained in:
parent
0df2ef3466
commit
a8d531f0d1
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class MetaVideoPage(BasePage):
|
|||
video = PluzzVideo(id)
|
||||
|
||||
video.title = self.get_meta('vignette-titre-court')
|
||||
video.url = 'mms://videozones.francetv.fr/%s' % self.get_meta('urls-url-video')[len('geoloc/'):]
|
||||
video.url = 'mms://a988.v101995.c10199.e.vm.akamaistream.net/7/988/10199/3f97c7e6/ftvigrp.download.akamai.com/10199/cappuccino/production/publication/%s' % self.get_meta('urls-url-video')
|
||||
video.description = self.get_meta('description')
|
||||
hours, minutes, seconds = self.get_meta('vignette-duree').split(':')
|
||||
video.duration = datetime.timedelta(hours=int(hours), minutes=int(minutes), seconds=int(seconds))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue