]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/abcotvs.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / abcotvs.py
index 5bff46634052cbfd330e476a9e8dc9db8414a89d..6dca19de418029a7dae9db20066e620e5bddacf3 100644 (file)
@@ -1,7 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
-
 from .common import InfoExtractor
 from ..compat import compat_str
 from ..utils import (
@@ -82,7 +78,6 @@ def _real_extract(self, url):
                 'url': mp4_url,
                 'width': 640,
             })
-        self._sort_formats(formats)
 
         image = video.get('image') or {}
 
@@ -123,7 +118,6 @@ def _real_extract(self, url):
         title = video_data['title']
         formats = self._extract_m3u8_formats(
             video_data['videoURL'].split('?')[0], video_id, 'mp4')
-        self._sort_formats(formats)
 
         return {
             'id': video_id,