isaacbernat / netflix-to-srt

Rip, extract and convert subtitles to .srt closed captions from .xml/dfxp/ttml and .vtt/WebVTT (e.g. Netflix, YouTube)
MIT License
749 stars 72 forks source link

Incorporate vtt-to-srt #22

Closed lbrayner closed 5 years ago

lbrayner commented 5 years ago

vtt-to-srt is a Python 3 script that converts WebVTT files to SubRip.

isaacbernat commented 5 years ago

Thanks for the PR. I've looked into some examples (https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API) and the format is actually quite close to SRT. I may try to implement a quick and dirty parser on the main file and avoid those extra dependencies.