diff --git a/youtube_dl/extractor/deezer.py b/youtube_dl/extractor/deezer.py index 458b89b75c..3a7e7d5b08 100644 --- a/youtube_dl/extractor/deezer.py +++ b/youtube_dl/extractor/deezer.py @@ -45,29 +45,29 @@ class DeezerPlaylistIE(InfoExtractor): webpage, 'data JSON') data = json.loads(data_json) - playlist_title = data['DATA']['TITLE'] - playlist_uploader = data['DATA']['PARENT_USERNAME'] + playlist_title = data.get('DATA').get('TITLE') + playlist_uploader = data.get('DATA').get('PARENT_USERNAME') playlist_thumbnail = self._search_regex( r'