Browse Source

[brightcove] remove sonyliv specific code

Remita Amine 4 years ago
parent
commit
782ea947b4
1 changed files with 0 additions and 8 deletions
  1. 0 8
      youtube_dl/extractor/brightcove.py

+ 0 - 8
youtube_dl/extractor/brightcove.py

@@ -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: