Merge pull request #1705 from iemejia/master

[ted] support for subtitles
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-11-10 11:54:18 +01:00
commit 231516b6c9
5 changed files with 110 additions and 13 deletions

View file

@ -1082,7 +1082,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
else:
raise ExtractorError(u'Unable to decrypt signature, key length %d not supported; retrying might work' % (len(s)))
def _get_available_subtitles(self, video_id):
def _get_available_subtitles(self, video_id, webpage):
try:
sub_list = self._download_webpage(
'http://video.google.com/timedtext?hl=en&type=list&v=%s' % video_id,