[extractor] Deprecate _sort_formats
This commit is contained in:
parent
784320c98c
commit
9f14daf22b
579 changed files with 69 additions and 918 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue