

Will surpass translation option, choose the caption which will be displayed as translation transcript lang_code.json for full list, or pass False to disable translationĬhoose the caption which will be displayed as original transcript Which will be displayed as original transcript, default to 'zh-Hans' for simplified Chinese, see. The video link or the id of youtube video, the string after 'v=' in a youtube video link lang_code for full listĭl-youtube-cc wgNiGj1nGYE -caption_num=1 -translation 'ja' # choose the caption num for original transcript and use japanese translation,ĭl-youtube-cc wgNiGj1nGYE -caption_num=1 -caption_num_second=2 # manually choose the original and translation transcript from available caption listĭl-youtube-cc wgNiGj1nGYE -translation False # without translationĭl-youtube-cc wgNiGj1nGYE -save_to_file=False # print stuff in consoleĭl-youtube-cc wgNiGj1nGYE -output_file='test.txt' # print stuff in named fileĭl-youtube-cc wgNiGj1nGYE -to_json=True # print stuff in json NAMEĭl-youtube-cc - download youtube closed caption(subtitles) by videoIDĭl-youtube-cc -h # to see this helpful infomationĭl-youtube-cc wgNiGj1nGYE -translation 'ja' # use japanese translation, see. Pip uninstall download-youtube-subtitle -y run in cliĭl-youtube-cc -h will show the following.
.jpg)

Support proxy for youtube, follow the step at Using Anaconda behind a company proxy by setting environment-variables.All available caption will be displayed, use -caption_num -caption_num_second to choose the caption which will be displayed as original or translation transcript. Support exportting translation at the same time which is useful for language study.use caption_num caption_num_second to get full controlĭownload youtube subtitles(closed caption, cc) or srt as txt or json.Due to changes of youtube api, you need to UPGRADE to 2.0.0, see Install and Run
