A feature-rich command-line audio/video downloader
[vevo] Add more format details
Philipp Hagemeistere54fd4b23b81
diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.pyindex 26ec9fa1b1..4d9f2a8431 100644--- a/youtube_dl/extractor/vevo.py+++ b/youtube_dl/extractor/vevo.py@@ -50,10 +50,11 @@ class VevoIE(InfoExtractor):# Already sorted from worst to best qualityfor rend in renditions.findall('rendition'):attr = rend.attrib- f_url = attr['url']+ format_note = '%(videoCodec)s@%(videoBitrate)4sK, %(audioCodec)s@%(audioBitrate)3sK' % attrformats.append({- 'url': f_url,- 'ext': determine_ext(f_url),+ 'url': attr['url'],+ 'format_id': attr['name'],+ 'format_note': format_note,'height': int(attr['frameheight']),'width': int(attr['frameWidth']),})@@ -71,7 +72,4 @@ class VevoIE(InfoExtractor):'duration': video_info['duration'],}- # TODO: Remove when #980 has been merged- info.update(formats[-1])-return info