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.tofile(filepath): save clean content to a text file. By default, the output file has extension .txt and the same name with the input file.

Sample

Click here to see sample.

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.0.8.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

vtt2text-0.0.8-py3-none-any.whl (4.2 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