diff options
author | Remita Amine <remitamine@gmail.com> | 2020-12-28 11:12:57 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2020-12-28 11:12:57 +0100 |
commit | 782ea947b487d4ef2b7b11fa40a00a518b529fed (patch) | |
tree | c531e352a5862bcc7a3df59fd96c742acca7687e /youtube_dl | |
parent | f27224d57b6768569e1aedfaff326605bdb4f049 (diff) |
[brightcove] remove sonyliv specific code
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/brightcove.py | 8 |
1 files changed, 0 insertions, 8 deletions
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: |