aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/imgur.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/imgur.py')
-rw-r--r--hypervideo_dl/extractor/imgur.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/hypervideo_dl/extractor/imgur.py b/hypervideo_dl/extractor/imgur.py
index c917cf1..061c4cc 100644
--- a/hypervideo_dl/extractor/imgur.py
+++ b/hypervideo_dl/extractor/imgur.py
@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
import re
from .common import InfoExtractor
@@ -86,8 +84,6 @@ class ImgurIE(InfoExtractor):
},
})
- self._sort_formats(formats)
-
return {
'id': video_id,
'formats': formats,
@@ -140,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]+)'