summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/crypter/ImgurComAlbum.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/crypter/ImgurComAlbum.py')
-rw-r--r--pyload/plugin/crypter/ImgurComAlbum.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/crypter/ImgurComAlbum.py b/pyload/plugin/crypter/ImgurComAlbum.py
index 33a5553f9..89606716b 100644
--- a/pyload/plugin/crypter/ImgurComAlbum.py
+++ b/pyload/plugin/crypter/ImgurComAlbum.py
@@ -5,18 +5,18 @@ from pyload.utils import uniqify
class ImgurComAlbum(SimpleCrypter):
- __name = "ImgurComAlbum"
- __type = "crypter"
- __version = "0.51"
+ __name__ = "ImgurComAlbum"
+ __type__ = "crypter"
+ __version__ = "0.51"
- __pattern = r'https?://(?:www\.|m\.)?imgur\.com/(a|gallery|)/?\w{5,7}'
- __config = [("use_premium" , "bool", "Use premium account if available" , True),
+ __pattern__ = r'https?://(?:www\.|m\.)?imgur\.com/(a|gallery|)/?\w{5,7}'
+ __config__ = [("use_premium" , "bool", "Use premium account if available" , True),
("use_subfolder" , "bool", "Save package to subfolder" , True),
("subfolder_per_pack", "bool", "Create a subfolder for each package", True)]
- __description = """Imgur.com decrypter plugin"""
- __license = "GPLv3"
- __authors = [("nath_schwarz", "nathan.notwhite@gmail.com")]
+ __description__ = """Imgur.com decrypter plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("nath_schwarz", "nathan.notwhite@gmail.com")]
NAME_PATTERN = r'(?P<N>.+?) - Imgur'