1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-20 03:59:32 +00:00

[brightcove] remove sonyliv specific code

This commit is contained in:
Remita Amine 2020-12-28 11:12:57 +01:00
parent f27224d57b
commit 782ea947b4

View file

@ -534,14 +534,6 @@ class BrightcoveNewIE(AdobePassIE):
'format_id': build_format_id('rtmp'), 'format_id': build_format_id('rtmp'),
}) })
formats.append(f) formats.append(f)
if not formats:
# for sonyliv.com DRM protected videos
s3_source_url = json_data.get('custom_fields', {}).get('s3sourceurl')
if s3_source_url:
formats.append({
'url': s3_source_url,
'format_id': 'source',
})
errors = json_data.get('errors') errors = json_data.get('errors')
if not formats and errors: if not formats and errors: