projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bde5ce
)
[qqmusic] Rearrange codes
author
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 5 Jun 2015 15:16:34 +0000
(23:16 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 5 Jun 2015 15:16:34 +0000
(23:16 +0800)
youtube_dl/extractor/qqmusic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/qqmusic.py
b/youtube_dl/extractor/qqmusic.py
index e24ddaefe6785b17d28e735c99227dcee0f1ec0d..c903bee58c792ec870ff2c7687b080a34fce78a4 100644
(file)
--- 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)