aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/udemy.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/udemy.py')
-rw-r--r--yt_dlp/extractor/udemy.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/yt_dlp/extractor/udemy.py b/yt_dlp/extractor/udemy.py
index 1dc2dbdc4..8b99c59cf 100644
--- a/yt_dlp/extractor/udemy.py
+++ b/yt_dlp/extractor/udemy.py
@@ -391,8 +391,6 @@ class UdemyIE(InfoExtractor):
if f.get('url'):
formats.append(f)
- self._sort_formats(formats)
-
return {
'id': video_id,
'title': title,
@@ -405,7 +403,7 @@ class UdemyIE(InfoExtractor):
}
-class UdemyCourseIE(UdemyIE):
+class UdemyCourseIE(UdemyIE): # XXX: Do not subclass from concrete IE
IE_NAME = 'udemy:course'
_VALID_URL = r'https?://(?:[^/]+\.)?udemy\.com/(?P<id>[^/?#&]+)'
_TESTS = [{