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.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/crypter/ImgurComAlbum.py b/module/plugins/crypter/ImgurComAlbum.py
index d2ca38d40..6c074f5f1 100644
--- a/module/plugins/crypter/ImgurComAlbum.py
+++ b/module/plugins/crypter/ImgurComAlbum.py
@@ -1,7 +1,7 @@
import re
-from pyload.plugin.internal.SimpleCrypter import SimpleCrypter
-from pyload.utils import uniqify
+from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
+from module.utils import uniqify
class ImgurComAlbum(SimpleCrypter):
@@ -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)