aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/imgur.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/imgur.py')
-rw-r--r--yt_dlp/extractor/imgur.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/yt_dlp/extractor/imgur.py b/yt_dlp/extractor/imgur.py
index a3bb47615..bff6ed57f 100644
--- a/yt_dlp/extractor/imgur.py
+++ b/yt_dlp/extractor/imgur.py
@@ -84,8 +84,6 @@ class ImgurIE(InfoExtractor):
},
})
- self._sort_formats(formats)
-
return {
'id': video_id,
'formats': formats,
@@ -138,7 +136,7 @@ class ImgurGalleryIE(InfoExtractor):
return self.url_result('http://imgur.com/%s' % gallery_id, ImgurIE.ie_key(), gallery_id)
-class ImgurAlbumIE(ImgurGalleryIE):
+class ImgurAlbumIE(ImgurGalleryIE): # XXX: Do not subclass from concrete IE
IE_NAME = 'imgur:album'
_VALID_URL = r'https?://(?:i\.)?imgur\.com/a/(?P<id>[a-zA-Z0-9]+)'