1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-22 07:58:54 +00:00

[extractor] Deprecate _sort_formats

This commit is contained in:
pukkandan
2022-11-17 10:40:03 +05:30
parent 784320c98c
commit 9f14daf22b
579 changed files with 69 additions and 918 deletions

View File

@@ -234,7 +234,6 @@ class XHamsterIE(InfoExtractor):
'Referer': standard_url,
},
})
self._sort_formats(formats)
categories_list = video.get('categories')
if isinstance(categories_list, list):
@@ -311,8 +310,6 @@ class XHamsterIE(InfoExtractor):
'url': video_url,
})
self._sort_formats(formats)
# Only a few videos have an description
mobj = re.search(r'<span>Description: </span>([^<]+)', webpage)
description = mobj.group(1) if mobj else None