commit 8d2cc6fbb158738b8fd4fafaacf613b4e38757e7
parent a954584f63cdcd81df37d3499f420a906aef8862
Author: Sergey M․ <dstftw@gmail.com>
Date: Mon, 28 Jul 2014 00:40:17 +0700
[blinkx] Fix duration
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/blinkx.py b/youtube_dl/extractor/blinkx.py
@@ -52,7 +52,7 @@ class BlinkxIE(InfoExtractor):
'height': int(m['h']),
})
elif m['type'] == 'original':
- duration = m['d']
+ duration = float(m['d'])
elif m['type'] == 'youtube':
yt_id = m['link']
self.to_screen('Youtube video detected: %s' % yt_id)