[subtitles] Also list the available automatic captions languages with '--list-sub'
This commit is contained in:
parent
055e6f3657
commit
d665f8d3cb
2 changed files with 6 additions and 2 deletions
|
@ -724,7 +724,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
|
|||
video_subtitles = self.extract_subtitles(video_id, video_webpage)
|
||||
|
||||
if self._downloader.params.get('listsubtitles', False):
|
||||
self._list_available_subtitles(video_id)
|
||||
self._list_available_subtitles(video_id, video_webpage)
|
||||
return
|
||||
|
||||
if 'length_seconds' not in video_info:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue