[subtitles] refactor to support websites with subtitle information the
[youtube-dl] / youtube_dl / extractor / youtube.py
index 4347651d7dc145bdda4d7684d3ba42c1570687e7..d7c9b38f9da7054a43827a5e44572986717714a7 100644 (file)
@@ -1099,7 +1099,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,