1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 22:55:18 +00:00

[extractor] Deprecate _sort_formats

This commit is contained in:
pukkandan
2022-11-17 10:40:03 +05:30
parent 784320c98c
commit 9f14daf22b
579 changed files with 69 additions and 918 deletions

View File

@@ -54,7 +54,6 @@ class ManotoTVIE(InfoExtractor):
episode_json = self._download_json(_API_URL.format('showmodule', 'episodedetails', video_id), video_id)
details = episode_json.get('details', {})
formats = self._extract_m3u8_formats(details.get('videoM3u8Url'), video_id, 'mp4')
self._sort_formats(formats)
return {
'id': video_id,
'series': details.get('showTitle'),
@@ -126,7 +125,6 @@ class ManotoTVLiveIE(InfoExtractor):
details = json.get('details', {})
video_url = details.get('liveUrl')
formats = self._extract_m3u8_formats(video_url, video_id, 'mp4', live=True)
self._sort_formats(formats)
return {
'id': video_id,
'title': 'Manoto TV Live',