mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	Remove _sort_formats from _extract_*_formats methods
Now _sort_formats should be called explicitly. _sort_formats has been added to all the necessary places in code. Closes #8051
This commit is contained in:
		| @@ -151,6 +151,7 @@ class ViideaIE(InfoExtractor): | ||||
|                 smil_url = '%s/%s/video/%s/smil.xml' % (base_url, lecture_slug, part_id) | ||||
|                 smil = self._download_smil(smil_url, lecture_id) | ||||
|                 info = self._parse_smil(smil, smil_url, lecture_id) | ||||
|                 self._sort_formats(info['formats']) | ||||
|                 info['id'] = lecture_id if not multipart else '%s_part%s' % (lecture_id, part_id) | ||||
|                 info['display_id'] = lecture_slug if not multipart else '%s_part%s' % (lecture_slug, part_id) | ||||
|                 if multipart: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․