summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/ImgurComAlbum.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/ImgurComAlbum.py')
-rw-r--r--module/plugins/crypter/ImgurComAlbum.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/crypter/ImgurComAlbum.py b/module/plugins/crypter/ImgurComAlbum.py
index f8f226a1b..6c074f5f1 100644
--- a/module/plugins/crypter/ImgurComAlbum.py
+++ b/module/plugins/crypter/ImgurComAlbum.py
@@ -1,6 +1,6 @@
import re
-from module.plugins.internal.SimpleCrypter import SimpleCrypter
+from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
from module.utils import uniqify
@@ -25,3 +25,6 @@ class ImgurComAlbum(SimpleCrypter):
def getLinks(self):
f = lambda url: "http://" + re.sub(r'(\w{7})s\.', r'\1.', url)
return uniqify(map(f, re.findall(self.LINK_PATTERN, self.html)))
+
+
+getInfo = create_getInfo(ImgurComAlbum)