mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-02-09 10:08:39 +01:00
[webvtt] Fix 15f22b4880b6b3f71f350c64d70976ae65b9f1ca
This commit is contained in:
parent
d5d1517e7d
commit
298230e550
@ -286,8 +286,8 @@ class CueBlock(Block):
|
||||
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…
x
Reference in New Issue
Block a user