mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 10:31:29 +00:00
[webvtt] Fix 15f22b4880
This commit is contained in:
parent
d5d1517e7d
commit
298230e550
|
@ -286,8 +286,8 @@ def parse(cls, parser):
|
|||
m1 = parser.consume(_REGEX_TS)
|
||||
if not m1:
|
||||
return None
|
||||
parser.consume(_REGEX_OPTIONAL_WHITESPACE)
|
||||
m2 = parser.consume(cls._REGEX_SETTINGS)
|
||||
parser.consume(_REGEX_OPTIONAL_WHITESPACE)
|
||||
if not parser.consume(_REGEX_NL):
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in a new issue