From 2e241242a3ee6338cafd515c9cd7481eb5c6f928 Mon Sep 17 00:00:00 2001 From: "PishPosh.McGee" Date: Thu, 26 Feb 2015 03:59:35 -0600 Subject: [PATCH] Adding subtitles --- youtube_dl/extractor/comedycentral.py | 3 +++ 1 file changed, 3 insertions(+) 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 @@ def _real_extract(self, url): }) 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 @@ def _real_extract(self, url): 'duration': duration, 'thumbnail': thumbnail, 'description': description, + 'subtitles': subtitles, }) return {