mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-03 21:15:34 +02:00
[blinkx] Fix duration
This commit is contained in:
parent
a954584f63
commit
8d2cc6fbb1
@ -52,7 +52,7 @@ def _real_extract(self, rl):
|
||||
'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)
|
||||
|
Loading…
Reference in New Issue
Block a user