projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd4eefe
)
[qqmusic] Code fixes
author
ping
<lipng.ong@gmail.com>
Tue, 12 May 2015 17:37:56 +0000
(
01:37
+0800)
committer
ping
<lipng.ong@gmail.com>
Tue, 12 May 2015 17:37:56 +0000
(
01:37
+0800)
youtube_dl/extractor/qqmusic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/qqmusic.py
b/youtube_dl/extractor/qqmusic.py
index 3401dcaef1ec25168f2629e2914396465e2fc193..bae2ce31aafcf21d4dd1cd272db6ff2cf79091a5 100644
(file)
--- a/
youtube_dl/extractor/qqmusic.py
+++ b/
youtube_dl/extractor/qqmusic.py
@@
-212,10
+212,9
@@
class QQMusicToplistIE(QQPlaylistBaseIE):
list_id, 'Download toplist page')
entries = []
- jsonp_url = ""
if list_type == 'top':
jsonp_url = "http://y.qq.com/y/static/toplist/json/top/%s/1.js" % num_id
- el
if list_type == 'global'
:
+ el
se
:
jsonp_url = "http://y.qq.com/y/static/toplist/json/global/%s/1_1.js" % num_id
list = self._download_json(jsonp_url, list_id, note='Retrieve toplist json',