A small package to clean up the content of a subtitle file to text
Project description
vtt2text
Install
pip install vtt2text
Usage
vtt2text.clean(filepath)
: return a clean text containing content ofvtt
file input.vtt2text.to_file(filepath)
: save clean content to a text file. By default, the output file has extension.txt
and the same name with the input file.
Example
Click here to see an example.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vtt2text-0.1.3.tar.gz
(2.5 kB
view hashes)