fix exception for kika. this ensures that certain videos can be downloaded.
This commit is contained in:
parent
d65d89183f
commit
f7f775248d
@ -126,6 +126,9 @@ class MDRIE(InfoExtractor):
|
|||||||
abr = int_or_none(xpath_text(asset, './bitrateAudio', 'abr'), 1000)
|
abr = int_or_none(xpath_text(asset, './bitrateAudio', 'abr'), 1000)
|
||||||
filesize = int_or_none(xpath_text(asset, './fileSize', 'file size'))
|
filesize = int_or_none(xpath_text(asset, './fileSize', 'file size'))
|
||||||
|
|
||||||
|
if vbr is None and abr is None:
|
||||||
|
continue
|
||||||
|
|
||||||
f = {
|
f = {
|
||||||
'url': video_url,
|
'url': video_url,
|
||||||
'format_id': '%s-%d' % (media_type, vbr or abr),
|
'format_id': '%s-%d' % (media_type, vbr or abr),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user