mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-31 04:22:25 +01:00
[webvtt] Handle premature EOF
Closes #2867, closes #5600 Authored by: flashdagger
This commit is contained in:
parent
02b2f9fa7d
commit
f352a09778
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ _REGEX_TS = re.compile(r'''(?x)
|
||||||
([0-9]{3})?
|
([0-9]{3})?
|
||||||
''')
|
''')
|
||||||
_REGEX_EOF = re.compile(r'\Z')
|
_REGEX_EOF = re.compile(r'\Z')
|
||||||
_REGEX_NL = re.compile(r'(?:\r\n|[\r\n])')
|
_REGEX_NL = re.compile(r'(?:\r\n|[\r\n]|$)')
|
||||||
_REGEX_BLANK = re.compile(r'(?:\r\n|[\r\n])+')
|
_REGEX_BLANK = re.compile(r'(?:\r\n|[\r\n])+')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue