diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2015-06-05 23:16:34 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2015-06-05 23:16:34 +0800 |
commit | f00a650705a5e5b4f2b540ea8133a1752e63dd81 (patch) | |
tree | 2351102610ed1d5dcf416f895c9e13b480cc5c09 /youtube_dl/extractor/qqmusic.py | |
parent | 4bde5ce99253dd356828e87858515f7c81e26abb (diff) |
[qqmusic] Rearrange codes
Diffstat (limited to 'youtube_dl/extractor/qqmusic.py')
-rw-r--r-- | youtube_dl/extractor/qqmusic.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/qqmusic.py b/youtube_dl/extractor/qqmusic.py index e24ddaefe..c903bee58 100644 --- a/youtube_dl/extractor/qqmusic.py +++ b/youtube_dl/extractor/qqmusic.py @@ -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) |