The whole things I want to do is to download some courses which help me a lot on youtube and embed zh-Hans subtitle to the video then submit them to an Chinese website which is not support external subtile.
This thing, may helps the students in China who don’t have a well English and cannot access youtube.
The file path is
--o '%(playlist_index)s - %(title)s.%(ext)s'
After downloaded all the videos in the list, get their names with
ls | grep mkv | sed "s/\.mkv//"
then copy & paste to google to get the translated text, then save it to a
It usually took me a whole night for 20 videos on Intel Core i7, an hour video needs 20 minutes to embed its subtitle.