projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f27224d
)
[brightcove] remove sonyliv specific code
author
Remita Amine
<remitamine@gmail.com>
Mon, 28 Dec 2020 10:12:57 +0000
(11:12 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 28 Dec 2020 10:12:57 +0000
(11:12 +0100)
youtube_dl/extractor/brightcove.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/brightcove.py
b/youtube_dl/extractor/brightcove.py
index 300d754586e591504265cf979dafd97b77d5ac08..65b44c0994c4fd0985801ebb36ec8b21c0fac493 100644
(file)
--- 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: