Browse Source

Adding subtitles

totalwebcasting
PishPosh.McGee 10 years ago
parent
commit
2e241242a3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      youtube_dl/extractor/comedycentral.py

+ 3
- 0
youtube_dl/extractor/comedycentral.py View File

@ -250,6 +250,8 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
}) })
self._sort_formats(formats) self._sort_formats(formats)
subtitles = self._extract_subtitles(cdoc, guid)
virtual_id = show_name + ' ' + epTitle + ' part ' + compat_str(part_num + 1) virtual_id = show_name + ' ' + epTitle + ' part ' + compat_str(part_num + 1)
entries.append({ entries.append({
'id': guid, 'id': guid,
@ -260,6 +262,7 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
'duration': duration, 'duration': duration,
'thumbnail': thumbnail, 'thumbnail': thumbnail,
'description': description, 'description': description,
'subtitles': subtitles,
}) })
return { return {


Loading…
Cancel
Save