Browse Source

[qqmusic] Rearrange codes

totalwebcasting
Yen Chi Hsuan 10 years ago
parent
commit
f00a650705
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      youtube_dl/extractor/qqmusic.py

+ 3
- 1
youtube_dl/extractor/qqmusic.py 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)


Loading…
Cancel
Save