projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a954584
)
[blinkx] Fix duration
author
Sergey M․
<dstftw@gmail.com>
Sun, 27 Jul 2014 17:40:17 +0000
(
00:40
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 27 Jul 2014 17:40:17 +0000
(
00:40
+0700)
youtube_dl/extractor/blinkx.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/blinkx.py
b/youtube_dl/extractor/blinkx.py
index 7d558e262ecea44df6b025f0db716b82d975b314..3e461e715e141b1ff4a294eb01b7657d16f05d4b 100644
(file)
--- 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)