Closed omerholz closed 5 years ago
Thanks for that @omerholz !
Any plans on publishing a new version of this library to pypi? Having this particular PR integrated would be extremely helpful for me... Thanks!
Hi @sdavids13 I was planning to do that. I will publish it soon. Thanks!
Hi @sdavids13 I just released 0.4.3.
reading and loading the WebVTT content are coupled. As a result, if the webvtt content to parse is not on the file system, we need to put it to the file system for the parser to be able to load it. This PR decouples these 2 functions. It keeps full backward compatibility, including for "internal" methods prefixed with
_
. With the addition ofread_buffer
method to the WebVTT class, this PR adds support for parsing any kind of file-like object: