]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/francetv.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / francetv.py
index ba9e691613421de55e0894a63cc885e2bee65ba5..052317204eea6b2a8e0c0e6719fae43146217afc 100644 (file)
@@ -191,8 +191,6 @@ def _extract_video(self, video_id, catalogue=None):
                 } for sheet in spritesheets]
             })
 
-        self._sort_formats(formats)
-
         if subtitle:
             title += ' - %s' % subtitle
         title = title.strip()
@@ -371,7 +369,7 @@ def _real_extract(self, url):
 
         webpage = self._download_webpage(url, display_id)
 
-        dailymotion_urls = DailymotionIE._extract_embed_urls(url, webpage)
+        dailymotion_urls = tuple(DailymotionIE._extract_embed_urls(url, webpage))
         if dailymotion_urls:
             return self.playlist_result([
                 self.url_result(dailymotion_url, DailymotionIE.ie_key())