]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/laola1tv.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / laola1tv.py
index b5d27c2f0758c627b35b6e8150503385ca63115c..416dd7eb4e864d33a7ccedcbae2a6bcecd197d3e 100644 (file)
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
 import json
 import re
 
@@ -52,7 +49,6 @@ def _extract_formats(self, token_url, video_id):
         formats = self._extract_akamai_formats(
             '%s?hdnea=%s' % (token_attrib['url'], token_attrib['auth']),
             video_id)
-        self._sort_formats(formats)
         return formats
 
     def _real_extract(self, url):
@@ -121,7 +117,7 @@ def get_flashvar(x, *args, **kwargs):
         }
 
 
-class Laola1TvBaseIE(Laola1TvEmbedIE):
+class Laola1TvBaseIE(Laola1TvEmbedIE):  # XXX: Do not subclass from concrete IE
     def _extract_video(self, url):
         display_id = self._match_id(url)
         webpage = self._download_webpage(url, display_id)