summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FilecloudIo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FilecloudIo.py')
-rw-r--r--module/plugins/hoster/FilecloudIo.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/module/plugins/hoster/FilecloudIo.py b/module/plugins/hoster/FilecloudIo.py
index fadbdeb1d..8fc1ddca2 100644
--- a/module/plugins/hoster/FilecloudIo.py
+++ b/module/plugins/hoster/FilecloudIo.py
@@ -50,10 +50,10 @@ class FilecloudIo(SimpleHoster):
def handleFree(self):
data = {"ukey": self.file_info['ID']}
- found = re.search(self.AB1_PATTERN, self.html)
- if found is None:
+ m = re.search(self.AB1_PATTERN, self.html)
+ if m is None:
self.parseError("__AB1")
- data['__ab1'] = found.group(1)
+ data['__ab1'] = m.group(1)
if not self.account:
self.fail("User not logged in")
@@ -76,8 +76,8 @@ class FilecloudIo(SimpleHoster):
self.logDebug(response)
if response['captcha']:
recaptcha = ReCaptcha(self)
- found = re.search(self.RECAPTCHA_KEY_PATTERN, self.html)
- captcha_key = found.group(1) if found else self.RECAPTCHA_KEY
+ m = re.search(self.RECAPTCHA_KEY_PATTERN, self.html)
+ captcha_key = m.group(1) if m else self.RECAPTCHA_KEY
data['ctype'] = "recaptcha"
for _ in xrange(5):
@@ -98,10 +98,10 @@ class FilecloudIo(SimpleHoster):
if response['dl']:
self.html = self.load('http://filecloud.io/download.html')
- found = re.search(self.LINK_PATTERN % self.file_info['ID'], self.html)
- if found is None:
+ m = re.search(self.LINK_PATTERN % self.file_info['ID'], self.html)
+ if m is None:
self.parseError("Download URL")
- download_url = found.group(1)
+ download_url = m.group(1)
self.logDebug("Download URL: %s" % download_url)
if "size" in self.file_info and self.file_info['size']: