summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/LixIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 13:29:12 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 13:29:12 +0200
commitc9b42f02f83a95d7741eee96247466d3b610b159 (patch)
treeba642be8eeb25233e83763aab2aa6227b31c7885 /module/plugins/crypter/LixIn.py
parent[Dereferer] Don't preload (diff)
downloadpyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz
self.html -> self.data
Diffstat (limited to 'module/plugins/crypter/LixIn.py')
-rw-r--r--module/plugins/crypter/LixIn.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/crypter/LixIn.py b/module/plugins/crypter/LixIn.py
index 669e0ebe0..84977e293 100644
--- a/module/plugins/crypter/LixIn.py
+++ b/module/plugins/crypter/LixIn.py
@@ -37,24 +37,24 @@ class LixIn(Crypter):
id = m.group('ID')
self.log_debug("File id is %s" % id)
- self.html = self.load(url)
+ self.data = self.load(url)
- m = re.search(self.SUBMIT_PATTERN, self.html)
+ m = re.search(self.SUBMIT_PATTERN, self.data)
if m is None:
self.error(_("Link doesn't seem valid"))
- m = re.search(self.CAPTCHA_PATTERN, self.html)
+ m = re.search(self.CAPTCHA_PATTERN, self.data)
if m is not None:
captcharesult = self.captcha.decrypt(urlparse.urljoin("http://lix.in/", m.group(1)))
- self.html = self.load(url, post={'capt': captcharesult, 'submit': "submit", 'tiny': id})
+ self.data = self.load(url, post={'capt': captcharesult, 'submit': "submit", 'tiny': id})
- if re.search(self.CAPTCHA_PATTERN, self.html):
+ if re.search(self.CAPTCHA_PATTERN, self.data):
self.fail(_("No captcha solved"))
else:
- self.html = self.load(url, post={'submit': "submit", 'tiny': id})
+ self.data = self.load(url, post={'submit': "submit", 'tiny': id})
- m = re.search(self.LINK_PATTERN, self.html)
+ m = re.search(self.LINK_PATTERN, self.data)
if m is None:
self.error(_("Unable to find destination url"))
else: