mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[qqmusic] Code fixes
This commit is contained in:
		@@ -212,10 +212,9 @@ class QQMusicToplistIE(QQPlaylistBaseIE):
 | 
				
			|||||||
            list_id, 'Download toplist page')
 | 
					            list_id, 'Download toplist page')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        entries = []
 | 
					        entries = []
 | 
				
			||||||
        jsonp_url = ""
 | 
					 | 
				
			||||||
        if list_type == 'top':
 | 
					        if list_type == 'top':
 | 
				
			||||||
            jsonp_url = "http://y.qq.com/y/static/toplist/json/top/%s/1.js" % num_id
 | 
					            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
 | 
					            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', 
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user