diff options
author | PishPosh.McGee <[email protected]> | 2015-02-26 03:59:35 -0600 |
---|---|---|
committer | PishPosh.McGee <[email protected]> | 2015-02-26 03:59:35 -0600 |
commit | 2e241242a3ee6338cafd515c9cd7481eb5c6f928 (patch) | |
tree | 8f3fe8cf3b9a990a0b90db73c93d92cc1c977b83 /youtube_dl/extractor/comedycentral.py | |
parent | 9724e5d33661b6d6c84b6da64b78c0b96221ab24 (diff) | |
download | youtube-dl-2e241242a3ee6338cafd515c9cd7481eb5c6f928.tar.gz youtube-dl-2e241242a3ee6338cafd515c9cd7481eb5c6f928.zip |
Adding subtitles
Diffstat (limited to 'youtube_dl/extractor/comedycentral.py')
-rw-r--r-- | youtube_dl/extractor/comedycentral.py | 3 |
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 { |