projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f8fd510
)
[cbs] extract once formats(closes #10515)
author
Remita Amine
<remitamine@gmail.com>
Thu, 1 Sep 2016 07:00:13 +0000
(08:00 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Thu, 1 Sep 2016 07:00:13 +0000
(08:00 +0100)
youtube_dl/extractor/cbs.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/cbs.py
b/youtube_dl/extractor/cbs.py
index c72ed2dbb7d2f6c97d1cca1e8652451db91e49ee..3f4dea40ca8a1f99f8a39d977773456466a086bc 100644
(file)
--- a/
youtube_dl/extractor/cbs.py
+++ b/
youtube_dl/extractor/cbs.py
@@
-51,7
+51,7
@@
class CBSIE(CBSBaseIE):
path = 'dJ5BDC/media/guid/2198311517/' + guid
smil_url = 'http://link.theplatform.com/s/%s?mbr=true' % path
formats, subtitles = self._extract_theplatform_smil(smil_url + '&manifest=m3u', guid)
path = 'dJ5BDC/media/guid/2198311517/' + guid
smil_url = 'http://link.theplatform.com/s/%s?mbr=true' % path
formats, subtitles = self._extract_theplatform_smil(smil_url + '&manifest=m3u', guid)
- for r in ('HLS&formats=M3U', 'RTMP', 'WIFI', '3G'):
+ for r in ('
OnceURL&formats=M3U', '
HLS&formats=M3U', 'RTMP', 'WIFI', '3G'):
try:
tp_formats, _ = self._extract_theplatform_smil(smil_url + '&assetTypes=' + r, guid, 'Downloading %s SMIL data' % r.split('&')[0])
formats.extend(tp_formats)
try:
tp_formats, _ = self._extract_theplatform_smil(smil_url + '&assetTypes=' + r, guid, 'Downloading %s SMIL data' % r.split('&')[0])
formats.extend(tp_formats)