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:
parent
cb434d5f38
commit
9985e268a9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user