From: Remita Amine Date: Mon, 28 Dec 2020 10:12:57 +0000 (+0100) Subject: [brightcove] remove sonyliv specific code X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=782ea947b487d4ef2b7b11fa40a00a518b529fed;p=youtube-dl [brightcove] remove sonyliv specific code --- diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index 300d75458..65b44c099 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -534,14 +534,6 @@ class BrightcoveNewIE(AdobePassIE): 'format_id': build_format_id('rtmp'), }) 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') if not formats and errors: