[extractor] Deprecate _sort_formats
This commit is contained in:
parent
784320c98c
commit
9f14daf22b
579 changed files with 69 additions and 918 deletions
|
|
@ -121,8 +121,6 @@ class GettrIE(GettrBaseIE):
|
|||
'height': int_or_none(post_data.get('vid_hgt')),
|
||||
})
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': post_id,
|
||||
'title': title,
|
||||
|
|
@ -192,8 +190,6 @@ class GettrStreamingIE(GettrBaseIE):
|
|||
'url': urljoin(self._MEDIA_BASE_URL, thumbnail),
|
||||
} for thumbnail in try_get(video_info, lambda x: x['postData']['imgs'], list) or []]
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': try_get(video_info, lambda x: x['postData']['ttl'], str),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue