mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 04:30:10 +09:00
Update youtube_dl/extractor/mujrozhlas.py
Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
parent
5fd5b4737f
commit
e4759fdffe
@ -44,10 +44,10 @@ class MujRozhlasIE(InfoExtractor):
|
|||||||
content = self._download_json(content_url, content_id)
|
content = self._download_json(content_url, content_id)
|
||||||
attrs = content['data']['attributes']
|
attrs = content['data']['attributes']
|
||||||
title = attrs['title']
|
title = attrs['title']
|
||||||
|
audio_url = content['data']['attributes']['audioLinks'][0]['url']
|
||||||
audio_info = content['data']['attributes']['audioLinks'][0]
|
audio_info = content['data']['attributes']['audioLinks'][0]
|
||||||
duration = audio_info.get('duration')
|
duration = audio_info.get('duration')
|
||||||
description = clean_html(attrs.get('description'))
|
description = clean_html(attrs.get('description'))
|
||||||
audio_url = audio_info.get('url')
|
|
||||||
thumbnail = self._og_search_thumbnail(webpage)
|
thumbnail = self._og_search_thumbnail(webpage)
|
||||||
timestamp = parse_iso8601(self._og_search_property('updated_time', webpage, fatal=False))
|
timestamp = parse_iso8601(self._og_search_property('updated_time', webpage, fatal=False))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user