projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
151978f
)
[rai] Fix audio formats extraction (closes #14024)
author
Sergey M․
<dstftw@gmail.com>
Sat, 26 Aug 2017 15:02:49 +0000
(22:02 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 26 Aug 2017 15:02:49 +0000
(22:02 +0700)
youtube_dl/extractor/rai.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/rai.py
b/youtube_dl/extractor/rai.py
index e11bf8f9a3d65dfbbe7cdacde7ca6982883b33e1..5bf64a56b71d6e0d4282d69476410e1108555877 100644
(file)
--- a/
youtube_dl/extractor/rai.py
+++ b/
youtube_dl/extractor/rai.py
@@
-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)