mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-03 05:43:07 +08:00
Make mandatory field use unsafe access, so it triggers fallback if not found
This commit is contained in:
parent
f70b37ef4f
commit
95dc812c9c
@ -64,7 +64,7 @@ class CamModelsIE(InfoExtractor):
|
||||
for encoding in encodings:
|
||||
formats.append({
|
||||
'ext': 'mp4',
|
||||
'url': encoding.get('location'),
|
||||
'url': encoding['location'],
|
||||
'width': int_or_none(encoding.get('videoWidth')),
|
||||
'height': int_or_none(encoding.get('videoHeight')),
|
||||
'vbr': int_or_none(encoding.get('videoKbps')),
|
||||
|
Loading…
Reference in New Issue
Block a user