1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 22:47:55 +01:00

[qqmusic] Rearrange codes

This commit is contained in:
Yen Chi Hsuan 2015-06-05 23:16:34 +08:00
parent 4bde5ce992
commit f00a650705

View File

@ -80,7 +80,9 @@ class QQMusicIE(InfoExtractor):
formats.append({
'url': 'http://cc.stream.qqmusic.qq.com/%s%s.%s?vkey=%s&guid=%s&fromtag=0'
% (f['prefix'], mid, f['ext'], vkey, guid),
'format': k, 'format_id': k, 'preference': f['preference'],
'format': k,
'format_id': k,
'preference': f['preference'],
'abr': f.get('abr')
})
self._sort_formats(formats)