Skip to main content

A small package to clean up the content of a subtitle file to text

Project description

vtt2text

vtt2text Python MIT Size Contributors

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.

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)

Uploaded Source

Built Distribution

vtt2text-0.1.3-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page