aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/comedycentral.py
diff options
context:
space:
mode:
authorPishPosh.McGee <pishposh.mcgee@gmail.com>2015-02-26 03:59:35 -0600
committerPishPosh.McGee <pishposh.mcgee@gmail.com>2015-02-26 03:59:35 -0600
commit2e241242a3ee6338cafd515c9cd7481eb5c6f928 (patch)
tree8f3fe8cf3b9a990a0b90db73c93d92cc1c977b83 /youtube_dl/extractor/comedycentral.py
parent9724e5d33661b6d6c84b6da64b78c0b96221ab24 (diff)
Adding subtitles
Diffstat (limited to 'youtube_dl/extractor/comedycentral.py')
-rw-r--r--youtube_dl/extractor/comedycentral.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/comedycentral.py b/youtube_dl/extractor/comedycentral.py
index b24538981..e5edcc84b 100644
--- a/youtube_dl/extractor/comedycentral.py
+++ b/youtube_dl/extractor/comedycentral.py
@@ -250,6 +250,8 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
})
self._sort_formats(formats)
+ subtitles = self._extract_subtitles(cdoc, guid)
+
virtual_id = show_name + ' ' + epTitle + ' part ' + compat_str(part_num + 1)
entries.append({
'id': guid,
@@ -260,6 +262,7 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
'duration': duration,
'thumbnail': thumbnail,
'description': description,
+ 'subtitles': subtitles,
})
return {