summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/LixIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
commitb1759bc440cd6013837697eb8de540914f693ffd (patch)
treed170caf63d7f65e44d23ea2d91a65759a1665928 /module/plugins/crypter/LixIn.py
parent[Plugin] Fix decoding in load method (diff)
downloadpyload-b1759bc440cd6013837697eb8de540914f693ffd.tar.xz
No camelCase style anymore
Diffstat (limited to 'module/plugins/crypter/LixIn.py')
-rw-r--r--module/plugins/crypter/LixIn.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/crypter/LixIn.py b/module/plugins/crypter/LixIn.py
index 2b4c2071c..a86396a25 100644
--- a/module/plugins/crypter/LixIn.py
+++ b/module/plugins/crypter/LixIn.py
@@ -9,7 +9,7 @@ from module.plugins.internal.Crypter import Crypter
class LixIn(Crypter):
__name__ = "LixIn"
__type__ = "crypter"
- __version__ = "0.23"
+ __version__ = "0.24"
__pattern__ = r'http://(?:www\.)?lix\.in/(?P<ID>.+)'
__config__ = [("use_subfolder" , "bool", "Save package to subfolder" , True),
@@ -33,7 +33,7 @@ class LixIn(Crypter):
self.error(_("Unable to identify file ID"))
id = m.group('ID')
- self.logDebug("File id is %s" % id)
+ self.log_debug("File id is %s" % id)
self.html = self.load(url)
@@ -46,12 +46,12 @@ class LixIn(Crypter):
for _i in xrange(5):
m = re.search(self.CAPTCHA_PATTERN, self.html)
if m:
- self.logDebug("Trying captcha")
- captcharesult = self.decryptCaptcha(urlparse.urljoin("http://lix.in/", m.group(1)))
+ self.log_debug("Trying captcha")
+ captcharesult = self.decrypt_captcha(urlparse.urljoin("http://lix.in/", m.group(1)))
self.html = self.load(url,
post={"capt": captcharesult, "submit": "submit", "tiny": id})
else:
- self.logDebug("No captcha/captcha solved")
+ self.log_debug("No captcha/captcha solved")
else:
self.html = self.load(url, post={"submit": "submit", "tiny": id})
@@ -60,4 +60,4 @@ class LixIn(Crypter):
self.error(_("Unable to find destination url"))
else:
self.urls = [m.group(1)]
- self.logDebug("Found link %s, adding to package" % self.urls[0])
+ self.log_debug("Found link %s, adding to package" % self.urls[0])