diff --git a/youtube_dl/extractor/cammodels.py b/youtube_dl/extractor/cammodels.py index f4365fc60..af5b89399 100644 --- a/youtube_dl/extractor/cammodels.py +++ b/youtube_dl/extractor/cammodels.py @@ -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')),