benwiley4000 / youtube-vtt

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

[General Inquiry] #3

Open mbd-shift opened 3 years ago

mbd-shift commented 3 years ago

Is it possible to make it work on embedded youtube videos?

benwiley4000 commented 3 years ago

@mbd-shift could you describe your use case?

benwiley4000 commented 3 years ago

I don't really think this would work directly for now, since the code relies on objects declared inside the YouTube page's javascript context. If you're trying to download a vtt file for the current video, I'd suggest maybe using the CLI on your backend to generate the file.