0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

[exctractor/digitalconcerthall] Fix extractor (#4105)

Authored by: ZhymabekRoman
This commit is contained in:
Zhymabek Roman 2022-06-18 23:57:20 +06:00 committed by pukkandan
parent 4f2a58c9c5
commit a79cba0c95
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -86,7 +86,7 @@ def _entries(self, items, language, **kwargs):
})
m3u8_url = traverse_obj(
stream_info, ('channel', lambda x: x.startswith('vod_mixed'), 'stream', 0, 'url'), get_all=False)
stream_info, ('channel', lambda k, _: k.startswith('vod_mixed'), 'stream', 0, 'url'), get_all=False)
formats = self._extract_m3u8_formats(m3u8_url, video_id, 'mp4', 'm3u8_native', fatal=False)
self._sort_formats(formats)