1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-02 18:39:29 +00:00

Update youtube_dl/extractor/mujrozhlas.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
Martin Vician 2022-08-06 21:31:56 +01:00 committed by GitHub
parent f935e0585b
commit 5fd5b4737f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ class MujRozhlasIE(InfoExtractor):
webpage = self._download_webpage(url, audio_id)
content_id = self._html_search_regex(r'\"contentId\":\"(.+?)\"', webpage, 'content_id')
content_id = self._html_search_regex(r'"contentId":"(.+?)"', webpage, 'content_id')
content_url = 'https://api.mujrozhlas.cz/episodes/' + content_id
content = self._download_json(content_url, content_id)