NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2747 most downloaded on PyPI
WebVTT reader, writer and segmenter
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 3.5 years
Nearly every release is documented
notes for 14 of 15 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
15 releases · first in 2016
Extended from_buffer support to allow BytesIO and also other format conversions
@lilaboc <https://github.com/lilaboc>_ (#56)Deprecated read_buffer in favor of from_buffer
One column per quarter.
Add capability to get WebVTT formatted content without an output file, thanks to @DawoudSheraz
Fix issue reading buffer
Allow parsing empty SBV captions, thanks to @ishunyu
Renamed and reorganized few of the modules
import webvtt
webvtt.read('captions.vtt') # this will return a WebVTT instance
Support for saving cue identifiers
The main goal of this release is a refactor of the WebVTT parser to be able to parse easier and give support to new features of the format.
The main goal of this release is a refactor of the WebVTT parser to be able to parse easier and give support to new features of the format.
New features:
Other:
The text for the caption is now returned clean (tags removed). The cue text could contain tags like:
The text for the caption is now returned clean (tags removed). The cue text could contain tags like:
Also a new attribute is available on captions to retrieve the text without cleaning tags: raw_text
The text for the caption is now returned clean (tags removed). The cue text could contain tags like: * timestamp tags: <00:19.000> * class tags: <c.classname>text</c> * and others... Important: It currently removes any tag present in the cue text. For example <b> would be removed.
Also a new attribute is available on captions to retrieve the text without cleaning tags: raw_text
The goal of this release if to allow the WebVTT parser to be able to read caption files that contain metadata headers that extend to more than one lin
The goal of this release if to allow the WebVTT parser to be able to read caption files that contain metadata headers that extend to more than one line.
Made hours in WebVTT parser optional as per specs.
Added support for YouTube SBV captions.
New features:
Other:
Refactor of the main module and parsers.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →