mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
[webvtt] Fix 15f22b4880
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user