mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 09:31:01 +01: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)
|
m1 = parser.consume(_REGEX_TS)
|
||||||
if not m1:
|
if not m1:
|
||||||
return None
|
return None
|
||||||
parser.consume(_REGEX_OPTIONAL_WHITESPACE)
|
|
||||||
m2 = parser.consume(cls._REGEX_SETTINGS)
|
m2 = parser.consume(cls._REGEX_SETTINGS)
|
||||||
|
parser.consume(_REGEX_OPTIONAL_WHITESPACE)
|
||||||
if not parser.consume(_REGEX_NL):
|
if not parser.consume(_REGEX_NL):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user