]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/vgtv.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / vgtv.py
index 3e0af7fb23ec729817540f50f0db7fae2b01c556..db338fa1063ede6f9e7ec265c73445f7050911ae 100644 (file)
@@ -9,7 +9,7 @@
 )
 
 
-class VGTVIE(XstreamIE):
+class VGTVIE(XstreamIE):  # XXX: Do not subclass from concrete IE
     IE_DESC = 'VGTV, BTTV, FTV, Aftenposten and Aftonbladet'
     _GEO_BYPASS = False
 
@@ -238,8 +238,6 @@ def _real_extract(self, url):
                 raise self.raise_geo_restricted(
                     countries=[host.rpartition('.')[-1].partition('/')[0].upper()])
 
-        self._sort_formats(info['formats'])
-
         info.update({
             'id': video_id,
             'title': data['title'],