mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-26 04:02:11 +00:00
[qqmusic] Code fixes
This commit is contained in:
parent
fd4eefed39
commit
86ec1e487c
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
elif list_type == 'global':
|
||||
else:
|
||||
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',
|
||||
|
|
Loading…
Reference in a new issue