aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/xhamster.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-11-17 10:40:03 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-11-17 11:40:17 +0530
commit9f14daf22b4080ae1531a772ee7574959af4e2fa (patch)
tree44e9d252cc11a8819f9092d31def30c1f9ed3137 /yt_dlp/extractor/xhamster.py
parent784320c98c2a7e84d72636bc25f6f54c86f5e481 (diff)
[extractor] Deprecate `_sort_formats`
Diffstat (limited to 'yt_dlp/extractor/xhamster.py')
-rw-r--r--yt_dlp/extractor/xhamster.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/yt_dlp/extractor/xhamster.py b/yt_dlp/extractor/xhamster.py
index 688c6b952..59eececb6 100644
--- a/yt_dlp/extractor/xhamster.py
+++ b/yt_dlp/extractor/xhamster.py
@@ -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