1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-01 13:49:51 +08:00

[ciscolive] Revert unnecessary changes to Brightcove extractor

This commit is contained in:
Austin de Coup-Crank
2018-10-29 14:02:44 -07:00
Unverified
parent b02413655e
commit 8f7465ef54
+3 -3
View File
@@ -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)