summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FastshareCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-20 03:02:09 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-20 03:34:54 +0200
commit9395182da7afed55a29bde1c7cbefe4204e783f0 (patch)
tree14c5f5f2dc5ea428c4625e8ce9208c5d77d1fc18 /module/plugins/hoster/FastshareCz.py
parent[account] self.html -> html (where was possible) (diff)
downloadpyload-9395182da7afed55a29bde1c7cbefe4204e783f0.tar.xz
Store all re.search/match object as "m" instead "found"
Diffstat (limited to 'module/plugins/hoster/FastshareCz.py')
-rw-r--r--module/plugins/hoster/FastshareCz.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/FastshareCz.py b/module/plugins/hoster/FastshareCz.py
index 4acbb12f8..e1fd9a666 100644
--- a/module/plugins/hoster/FastshareCz.py
+++ b/module/plugins/hoster/FastshareCz.py
@@ -48,9 +48,9 @@ class FastshareCz(SimpleHoster):
if "> 100% of FREE slots are full" in self.html:
self.retry(120, 60, "No free slots")
- found = re.search(self.FREE_URL_PATTERN, self.html)
- if found:
- action, captcha_src = found.groups()
+ m = re.search(self.FREE_URL_PATTERN, self.html)
+ if m:
+ action, captcha_src = m.groups()
else:
self.parseError("Free URL")
@@ -82,9 +82,9 @@ class FastshareCz(SimpleHoster):
self.logWarning("Not enough traffic left")
self.resetAccount()
else:
- found = re.search(self.PREMIUM_URL_PATTERN, self.html)
- if found:
- url = found.group(1)
+ m = re.search(self.PREMIUM_URL_PATTERN, self.html)
+ if m:
+ url = m.group(1)
else:
self.parseError("Premium URL")