Skip to content

vuanhtuan1012/vtt2text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vtt2text

vtt2text pypi version Python MIT Size Contributors

Small scripts to clean up the content of a subtitle file .vtt to plain text.

Install

pip install vtt2text

Usage

  • vtt2text.clean(filepath): return a clean text containing content of vtt 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.

Before:

vtt file

After:

txt file

Example

An example is at test.py.

About

small scripts to clean up the content of a vtt file to plain text

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages