1
0
Fork 0

[extractor] Deprecate _sort_formats

This commit is contained in:
pukkandan 2022-11-17 10:40:03 +05:30
commit 9f14daf22b
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
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