Compare commits

..

No commits in common. "b4cbc9e7ced65e71eb4c74f3c7eee2894eace1da" and "ce6e7c2271c426cdd545c10815aa672a1be76858" have entirely different histories.

View File

@ -68,14 +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']
def map_formats(v):
return {
'id': str(v['id']),
'title': v['title'],
'url': v['url']['web'],
}
set_content = list(map(map_formats, set_data['data']['contents']))
set_content = map(lambda x: x['url']['web'], set_data['data']['content'])
return self.playlist_result(set_content, set_id, set_title)