mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[vk] fix wall audio thumbnails extraction(closes #23135)
This commit is contained in:
		@@ -634,14 +634,15 @@ class VKWallPostIE(VKBaseIE):
 | 
				
			|||||||
            if not a.url:
 | 
					            if not a.url:
 | 
				
			||||||
                continue
 | 
					                continue
 | 
				
			||||||
            title = unescapeHTML(a.title)
 | 
					            title = unescapeHTML(a.title)
 | 
				
			||||||
 | 
					            performer = unescapeHTML(a.performer)
 | 
				
			||||||
            entries.append({
 | 
					            entries.append({
 | 
				
			||||||
                'id': '%s_%s' % (a.owner_id, a.id),
 | 
					                'id': '%s_%s' % (a.owner_id, a.id),
 | 
				
			||||||
                'url': self._unmask_url(a.url, a.ads['vk_id']),
 | 
					                'url': self._unmask_url(a.url, a.ads['vk_id']),
 | 
				
			||||||
                'title': '%s - %s' % (a.performer, title) if a.performer else title,
 | 
					                'title': '%s - %s' % (performer, title) if performer else title,
 | 
				
			||||||
                'thumbnail': a.cover_url.split(',') if a.cover_url else None,
 | 
					                'thumbnails': [{'url': c_url} for c_url in a.cover_url.split(',')] if a.cover_url else None,
 | 
				
			||||||
                'duration': a.duration,
 | 
					                'duration': int_or_none(a.duration),
 | 
				
			||||||
                'uploader': uploader,
 | 
					                'uploader': uploader,
 | 
				
			||||||
                'artist': a.performer,
 | 
					                'artist': performer,
 | 
				
			||||||
                'track': title,
 | 
					                'track': title,
 | 
				
			||||||
                'ext': 'mp4',
 | 
					                'ext': 'mp4',
 | 
				
			||||||
                'protocol': 'm3u8',
 | 
					                'protocol': 'm3u8',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user