mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-11-16 07:48:01 +01:00
[rai] Fix audio formats extraction (closes #14024)
This commit is contained in:
parent
151978f38a
commit
085d9dd9be
1 changed files with 2 additions and 2 deletions
|
@ -345,11 +345,11 @@ class RaiIE(RaiBaseIE):
|
|||
media_type = media['type']
|
||||
if 'Audio' in media_type:
|
||||
relinker_info = {
|
||||
'formats': {
|
||||
'formats': [{
|
||||
'format_id': media.get('formatoAudio'),
|
||||
'url': media['audioUrl'],
|
||||
'ext': media.get('formatoAudio'),
|
||||
}
|
||||
}]
|
||||
}
|
||||
elif 'Video' in media_type:
|
||||
relinker_info = self._extract_relinker_info(media['mediaUri'], content_id)
|
||||
|
|
Loading…
Reference in a new issue