mirror of
https://github.com/docling-project/docling-core.git
synced 2026-11-18 20:27:00 +00:00
Follow-up to #975. Real yt-dlp files have the `Kind: captions` and `Language: en` lines right after "WEBVTT". They were parsed as a cue and emitted a "Failed to parse cue block" warning. - Ignore the header lines after "WEBVTT", up to the first empty line or the first line with cue timings, as the WebVTT parsing rules do. - Add a yt-dlp transcript to the test data. Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>