]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/tennistv.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / tennistv.py
index 5baa21d52a0c5fc5ccd8b58d3141a269ddc12a80..bc64226bf0180bbcbd3b9f2f6bffb4aa906e315b 100644 (file)
@@ -138,11 +138,9 @@ def _real_extract(self, url):
         formats, subtitles = self._extract_m3u8_formats_and_subtitles(
             self._FORMAT_URL.format(partner=self._PARTNER_ID, entry=entryid, session=k_session), video_id)
 
-        self._sort_formats(formats)
-
         return {
             'id': video_id,
-            'title': self._html_extract_title(webpage) or self._og_search_title(webpage),
+            'title': self._generic_title('', webpage),
             'description': self._html_search_regex(
                 (r'<span itemprop="description" content=["\']([^"\']+)["\']>', *self._og_regexes('description')),
                 webpage, 'description', fatal=False),