]> jfr.im git - yt-dlp.git/commit
[extractor/common] Extract HLS subtitle tracks
authorFelix S <redacted>
Mon, 7 Nov 2016 14:45:42 +0000 (15:45 +0100)
committerFelix S <redacted>
Wed, 28 Apr 2021 11:49:57 +0000 (17:19 +0530)
commita0c3b2d5cf4fe374a2b0119ea53b71c9a06aaee9
treea359bf6144dbe0b79503c575ea9f0f398fdbf157
parent19bb39202d10e171378fc407b1e0590bbb9df96b
[extractor/common] Extract HLS subtitle tracks

_extract_m3u8_formats is renamed to _extract_m3u8_formats_and_subtitles
and extended to handle subtitle tracks instead of skipping them;
a wrapper with the old name is provided for compatibility.

_parse_m3u8_formats is likewise renamed and extended, but without adding
the compatibility wrapper; the test suite is adjusted to test the enhanced
method instead.
test/test_InfoExtractor.py
yt_dlp/extractor/common.py