mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-15 07:42:42 +00:00
[qqmusic] flake8
This commit is contained in:
parent
96d45a5489
commit
5488973961
1 changed files with 7 additions and 7 deletions
|
@ -217,7 +217,8 @@ class QQMusicToplistIE(QQPlaylistBaseIE):
|
||||||
else:
|
else:
|
||||||
jsonp_url = "http://y.qq.com/y/static/toplist/json/global/%s/1_1.js" % num_id
|
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',
|
list = self._download_json(
|
||||||
|
jsonp_url, list_id, note='Retrieve toplist json',
|
||||||
errnote='Unable to get toplist json', transform_source=self.strip_qq_jsonp)
|
errnote='Unable to get toplist json', transform_source=self.strip_qq_jsonp)
|
||||||
|
|
||||||
for song in list['l']:
|
for song in list['l']:
|
||||||
|
@ -233,4 +234,3 @@ class QQMusicToplistIE(QQPlaylistBaseIE):
|
||||||
list_desc = None
|
list_desc = None
|
||||||
|
|
||||||
return self.playlist_result(entries, list_id, list_name, list_desc)
|
return self.playlist_result(entries, list_id, list_name, list_desc)
|
||||||
|
|
Loading…
Reference in a new issue