[brightcove] remove sonyliv specific code
authorRemita Amine <remitamine@gmail.com>
Mon, 28 Dec 2020 10:12:57 +0000 (11:12 +0100)
committerRemita Amine <remitamine@gmail.com>
Mon, 28 Dec 2020 10:12:57 +0000 (11:12 +0100)
youtube_dl/extractor/brightcove.py

index 300d754586e591504265cf979dafd97b77d5ac08..65b44c0994c4fd0985801ebb36ec8b21c0fac493 100644 (file)
@@ -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: