mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 21:59:17 +00:00
[muenchentv] Fix extraction (Closes #10313)
This commit is contained in:
parent
bd6fb007de
commit
6a26c5f9d5
|
@ -36,7 +36,7 @@ def _real_extract(self, url):
|
||||||
title = self._live_title(self._og_search_title(webpage))
|
title = self._live_title(self._og_search_title(webpage))
|
||||||
|
|
||||||
data_js = self._search_regex(
|
data_js = self._search_regex(
|
||||||
r'(?s)\nplaylist:\s*(\[.*?}\]),related:',
|
r'(?s)\nplaylist:\s*(\[.*?}\]),',
|
||||||
webpage, 'playlist configuration')
|
webpage, 'playlist configuration')
|
||||||
data_json = js_to_json(data_js)
|
data_json = js_to_json(data_js)
|
||||||
data = json.loads(data_json)[0]
|
data = json.loads(data_json)[0]
|
||||||
|
|
Loading…
Reference in a new issue