1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-24 08:58:53 +00:00
Files
yt-dlp/yt_dlp
GiorgosTsak 45d132a6be Improved WebVTT parser with robust error handling and input validation
Enhances the WebVTT partial parser by adding comprehensive error handling, type validation, and defensive checks to prevent unexpected failures during parsing. Specifically, input types are validated in _MatchParser and parse_fragment, ensuring only valid strings or bytes are accepted. Timestamp parsing now raises clear errors for invalid matches, while regex operations are guarded to avoid NoneType attribute errors. The .decode() step in parse_fragment uses safe fallback to handle invalid byte sequences gracefully.
2025-06-23 20:16:28 +03:00
..
2025-03-21 23:41:56 +00:00
2025-03-21 23:41:56 +00:00
2025-05-22 09:33:11 +00:00
2025-04-30 23:01:25 +00:00
2025-06-09 23:41:52 +00:00
2025-06-09 23:39:00 +00:00