aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cbsinteractive.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-07-02 21:19:07 +0100
committerRemita Amine <remitamine@gmail.com>2016-07-02 21:24:22 +0100
commitbf83024826e325c474aed5128c012b78a5d15210 (patch)
treecbf59743fce34069d65e498f7fa7c3ef40ebd955 /youtube_dl/extractor/cbsinteractive.py
parenta0cfd82dda86b4e3e882819216f177b003a1b473 (diff)
[theplatform] add basic support for Adobe Pass
Diffstat (limited to 'youtube_dl/extractor/cbsinteractive.py')
-rw-r--r--youtube_dl/extractor/cbsinteractive.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/youtube_dl/extractor/cbsinteractive.py b/youtube_dl/extractor/cbsinteractive.py
index 0011c3029..821db20b2 100644
--- a/youtube_dl/extractor/cbsinteractive.py
+++ b/youtube_dl/extractor/cbsinteractive.py
@@ -80,9 +80,6 @@ class CBSInteractiveIE(ThePlatformIE):
media_guid_path = 'media/guid/%d/%s' % (self.MPX_ACCOUNTS[site], vdata['mpxRefId'])
formats, subtitles = [], {}
- if site == 'cnet':
- formats, subtitles = self._extract_theplatform_smil(
- self.TP_RELEASE_URL_TEMPLATE % media_guid_path, video_id)
for (fkey, vid) in vdata['files'].items():
if fkey == 'hls_phone' and 'hls_tablet' in vdata['files']:
continue
@@ -94,7 +91,7 @@ class CBSInteractiveIE(ThePlatformIE):
subtitles = self._merge_subtitles(subtitles, tp_subtitles)
self._sort_formats(formats)
- info = self.get_metadata('kYEXFC/%s' % media_guid_path, video_id)
+ info = self._extract_theplatform_metadata('kYEXFC/%s' % media_guid_path, video_id)
info.update({
'id': video_id,
'display_id': display_id,