This repository has been archived on 2024-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
negromate_origins/web/negromateweb/tools/from_srt_to_vtt.py

7 lines
82 B
Python

import sys
import webvtt
srt = sys.argv[1]
webvtt = webvtt.from_srt(srt).save()