aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-07-28 00:40:17 +0700
committerSergey M․ <dstftw@gmail.com>2014-07-28 00:40:17 +0700
commit8d2cc6fbb158738b8fd4fafaacf613b4e38757e7 (patch)
tree4dc551455568ec24ecc7de465ec402d51d00223d
parenta954584f63cdcd81df37d3499f420a906aef8862 (diff)
[blinkx] Fix duration
-rw-r--r--youtube_dl/extractor/blinkx.py2
1 files changed, 1 insertions, 1 deletions
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)