Skip to content

Commit

Permalink
[webvtt] Slightly better error
Browse files Browse the repository at this point in the history
  • Loading branch information
pukkandan committed Jan 11, 2024
1 parent e4a327a commit 9f813e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/webvtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def commit(self):
class ParseError(Exception):
def __init__(self, parser):
super().__init__("Parse error at position %u (near %r)" % (
parser._pos, parser._data[parser._pos:parser._pos + 20]
parser._pos, parser._data[parser._pos:parser._pos + 100]
))


Expand Down

0 comments on commit 9f813e7

Please sign in to comment.