0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

[kaltura] Skip chun format

This commit is contained in:
Sergey M․ 2016-09-12 22:33:00 +07:00
parent a5ff05df1a
commit e8bcd982cc
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -262,6 +262,10 @@ def sign_url(unsigned_url):
# Continue if asset is not ready
if f.get('status') != 2:
continue
# Original format that's not available (e.g. kaltura:1926081:0_c03e1b5g)
# skip for now.
if f.get('fileExt') == 'chun':
continue
video_url = sign_url(
'%s/flavorId/%s' % (data_url, f['id']))
formats.append({