mirror of https://github.com/yt-dlp/yt-dlp
[extractor/common] Improved support for HTML5 subtitles
Ref: #10625 In a strict sense, <track>s with kind=captions are not subtitles. [1] openload misuses this attribute, and I guess there will be more examples, so I add it to common.py. Also allow extracting information for subtitles-only <video> or <audio> tags, which is the case of openload. [1] https://www.w3.org/TR/html5/embedded-content-0.html#attr-track-kindpull/8/head
parent
e6332059ac
commit
5968d7d2fe
Loading…
Reference in New Issue