diff options
| author | Remita Amine <remitamine@gmail.com> | 2016-09-01 08:00:13 +0100 | 
|---|---|---|
| committer | Remita Amine <remitamine@gmail.com> | 2016-09-01 08:00:13 +0100 | 
| commit | 2896dd73bc2c9844175258086c0300395722e5c9 (patch) | |
| tree | d0350c22bde52a139fac68e3760dd98056d0a52d | |
| parent | f8fd510eb4b2733a5c083d767d45baa88b289298 (diff) | |
[cbs] extract once formats(closes #10515)
| -rw-r--r-- | youtube_dl/extractor/cbs.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cbs.py b/youtube_dl/extractor/cbs.py index c72ed2dbb..3f4dea40c 100644 --- 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) -        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)  | 
