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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user