Explorar o código

[blinkx] Fix duration

Sergey M․ %!s(int64=11) %!d(string=hai) anos
pai
achega
8d2cc6fbb1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/extractor/blinkx.py

+ 1 - 1
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)