1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-09 08:47:16 +08:00

Update brightcove.py

This commit is contained in:
Sergey M 2019-06-23 17:03:00 +07:00 committed by GitHub
parent cb434d5f38
commit 9985e268a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -788,9 +788,10 @@ class BrightcoveNewIE(AdobePassIE):
if content_type == 'playlist':
return self.playlist_result(
[self._parse_brightcove_metadata(vid, vid.get('id'), headers) for vid in json_data.get('videos', []) if vid.get('id')],
json_data.get('id'), json_data.get('name'), json_data.get('description'),
)
[self._parse_brightcove_metadata(vid, vid.get('id'), headers)
for vid in json_data.get('videos', []) if vid.get('id')],
json_data.get('id'), json_data.get('name'),
json_data.get('description'))
return self._parse_brightcove_metadata(
json_data, video_id, headers=headers)