logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 782ea947b487d4ef2b7b11fa40a00a518b529fed
parent f27224d57b6768569e1aedfaff326605bdb4f049
Author: Remita Amine <remitamine@gmail.com>
Date:   Mon, 28 Dec 2020 11:12:57 +0100

[brightcove] remove sonyliv specific code

Diffstat:

Myoutube_dl/extractor/brightcove.py8--------
1 file changed, 0 insertions(+), 8 deletions(-)

diff --git 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: