From 5377e4d8afb3ffa061879ad4ce08dd52972ed807 Mon Sep 17 00:00:00 2001 From: mimvahedi Date: Wed, 13 Dec 2023 00:40:23 +0330 Subject: [PATCH] fix typo --- youtube_dl/extractor/alaa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/alaa.py b/youtube_dl/extractor/alaa.py index 11afb9a32..bd66d1b34 100644 --- a/youtube_dl/extractor/alaa.py +++ b/youtube_dl/extractor/alaa.py @@ -68,5 +68,5 @@ class AlaaPlaylistIE(InfoExtractor): set_id = self._match_id(url) set_data = self._download_json('https://alaatv.com/api/v2/set/{0}'.format(set_id), set_id) set_title = set_data['data']['title'] - set_content = map(lambda x: x['url']['web'], set_data['data']['content']) + set_content = list(map(lambda x: x['url']['web'], set_data['data']['contents'])) return self.playlist_result(set_content, set_id, set_title)