From: Sergey M․ Date: Sun, 27 Jul 2014 17:40:17 +0000 (+0700) Subject: [blinkx] Fix duration X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=8d2cc6fbb158738b8fd4fafaacf613b4e38757e7;p=youtube-dl [blinkx] Fix duration --- diff --git a/youtube_dl/extractor/blinkx.py b/youtube_dl/extractor/blinkx.py index 7d558e262..3e461e715 100644 --- 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)