benwiley4000 / youtube-vtt

▶️ Extract and save WebVTT closed caption tracks from YouTube videos
MIT License
50 stars 13 forks source link

Support translation language arg #2

Closed benwiley4000 closed 4 years ago

benwiley4000 commented 4 years ago

https://github.com/benwiley4000/youtube-vtt/issues/1#issuecomment-702850691 cc @dirxiang

benwiley4000 commented 4 years ago

@dirxiang please try the latest updated version: https://github.com/benwiley4000/youtube-vtt

You can use for example:

saveVttFiles({ translationLanguageCode: 'zh-Hans' });

Please let me know if this works well for you!

dirxiang commented 4 years ago

Yes it worked perfectly! This is awesome! Thank you!!!

benwiley4000 commented 4 years ago

Great!