summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/crypter/LixIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
commitfcead1870013b6a970eca7878a66dbe783c80ea3 (patch)
tree9837d3b2cacba2f5d1a4c620b1cd02f26571b454 /pyload/plugin/crypter/LixIn.py
parentInit cosmetics (diff)
downloadpyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz
Diffstat (limited to 'pyload/plugin/crypter/LixIn.py')
-rw-r--r--pyload/plugin/crypter/LixIn.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/crypter/LixIn.py b/pyload/plugin/crypter/LixIn.py
index f992d38fd..0b4329d35 100644
--- a/pyload/plugin/crypter/LixIn.py
+++ b/pyload/plugin/crypter/LixIn.py
@@ -6,17 +6,17 @@ from pyload.plugin.Crypter import Crypter
class LixIn(Crypter):
- __name = "LixIn"
- __type = "crypter"
- __version = "0.22"
+ __name__ = "LixIn"
+ __type__ = "crypter"
+ __version__ = "0.22"
- __pattern = r'http://(?:www\.)?lix\.in/(?P<ID>.+)'
- __config = [("use_subfolder", "bool", "Save package to subfolder", True),
+ __pattern__ = r'http://(?:www\.)?lix\.in/(?P<ID>.+)'
+ __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
- __description = """Lix.in decrypter plugin"""
- __license = "GPLv3"
- __authors = [("spoob", "spoob@pyload.org")]
+ __description__ = """Lix.in decrypter plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("spoob", "spoob@pyload.org")]
CAPTCHA_PATTERN = r'<img src="(?P<image>captcha_img\.php\?.*?)"'
@@ -27,7 +27,7 @@ class LixIn(Crypter):
def decrypt(self, pyfile):
url = pyfile.url
- m = re.match(self.__pattern, url)
+ m = re.match(self.__pattern__, url)
if m is None:
self.error(_("Unable to identify file ID"))