Merge branch 'ted_subtitles'

This commit is contained in:
Ismaël Mejía 2013-11-02 19:50:45 +01:00
commit 38db46794f
5 changed files with 97 additions and 14 deletions

View file

@ -1094,7 +1094,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,