aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-06-05 23:16:34 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-06-05 23:16:34 +0800
commitf00a650705a5e5b4f2b540ea8133a1752e63dd81 (patch)
tree2351102610ed1d5dcf416f895c9e13b480cc5c09 /youtube_dl/extractor
parent4bde5ce99253dd356828e87858515f7c81e26abb (diff)
[qqmusic] Rearrange codes
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/qqmusic.py4
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)