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:
parent
a5ff05df1a
commit
e8bcd982cc
1 changed files with 4 additions and 0 deletions
|
@ -262,6 +262,10 @@ def sign_url(unsigned_url):
|
||||||
# Continue if asset is not ready
|
# Continue if asset is not ready
|
||||||
if f.get('status') != 2:
|
if f.get('status') != 2:
|
||||||
continue
|
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(
|
video_url = sign_url(
|
||||||
'%s/flavorId/%s' % (data_url, f['id']))
|
'%s/flavorId/%s' % (data_url, f['id']))
|
||||||
formats.append({
|
formats.append({
|
||||||
|
|
Loading…
Reference in a new issue