1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 11:39:28 +00:00
This commit is contained in:
mimvahedi 2023-12-13 00:40:23 +03:30
parent ce6e7c2271
commit 5377e4d8af

View file

@ -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)