]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[kaltura] Skip chun format
authorSergey M․ <dstftw@gmail.com>
Mon, 12 Sep 2016 15:33:00 +0000 (22:33 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 12 Sep 2016 15:33:00 +0000 (22:33 +0700)
youtube_dl/extractor/kaltura.py

index 6a846499870bde53470cbe8273e9c99ae7ae0fb2..22a06e4ae2f97a0b5f9ca7fc3a8a29691dd7eef4 100644 (file)
@@ -262,6 +262,10 @@ class KalturaIE(InfoExtractor):
             # 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({