kopia lustrzana https://github.com/yt-dlp/yt-dlp
[blinkx] Fix duration
rodzic
a954584f63
commit
8d2cc6fbb1
|
@ -52,7 +52,7 @@ class BlinkxIE(InfoExtractor):
|
||||||
'height': int(m['h']),
|
'height': int(m['h']),
|
||||||
})
|
})
|
||||||
elif m['type'] == 'original':
|
elif m['type'] == 'original':
|
||||||
duration = m['d']
|
duration = float(m['d'])
|
||||||
elif m['type'] == 'youtube':
|
elif m['type'] == 'youtube':
|
||||||
yt_id = m['link']
|
yt_id = m['link']
|
||||||
self.to_screen('Youtube video detected: %s' % yt_id)
|
self.to_screen('Youtube video detected: %s' % yt_id)
|
||||||
|
|
Ładowanie…
Reference in New Issue