mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-11 02:47:15 +08:00
[ciscolive] Revert unnecessary changes to Brightcove extractor
This commit is contained in:
parent
b02413655e
commit
8f7465ef54
@ -596,8 +596,8 @@ class BrightcoveNewIE(AdobePassIE):
|
||||
|
||||
return entries
|
||||
|
||||
def _parse_brightcove_metadata(self, json_data, video_id, headers={}, smuggled_data={}):
|
||||
title = smuggled_data.get('title') or json_data['name'].strip()
|
||||
def _parse_brightcove_metadata(self, json_data, video_id, headers={}):
|
||||
title = json_data['name'].strip()
|
||||
|
||||
formats = []
|
||||
for source in json_data.get('sources', []):
|
||||
@ -772,4 +772,4 @@ class BrightcoveNewIE(AdobePassIE):
|
||||
})
|
||||
|
||||
return self._parse_brightcove_metadata(
|
||||
json_data, video_id, headers=headers, smuggled_data=smuggled_data)
|
||||
json_data, video_id, headers=headers)
|
||||
|
Loading…
x
Reference in New Issue
Block a user