aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2020-12-28 11:12:57 +0100
committerRemita Amine <remitamine@gmail.com>2020-12-28 11:12:57 +0100
commit782ea947b487d4ef2b7b11fa40a00a518b529fed (patch)
treec531e352a5862bcc7a3df59fd96c742acca7687e
parentf27224d57b6768569e1aedfaff326605bdb4f049 (diff)
[brightcove] remove sonyliv specific code
-rw-r--r--youtube_dl/extractor/brightcove.py8
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: