summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/EuroshareEu.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/EuroshareEu.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/EuroshareEu.py')
-rw-r--r--module/plugins/hoster/EuroshareEu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/EuroshareEu.py b/module/plugins/hoster/EuroshareEu.py
index 3ec319129..5365e7312 100644
--- a/module/plugins/hoster/EuroshareEu.py
+++ b/module/plugins/hoster/EuroshareEu.py
@@ -61,10 +61,10 @@ class EuroshareEu(SimpleHoster):
if re.search(self.ERR_PARDL_PATTERN, self.html) is not None:
self.longWait(5 * 60, 12)
- found = re.search(self.FREE_URL_PATTERN, self.html)
- if found is None:
+ m = re.search(self.FREE_URL_PATTERN, self.html)
+ if m is None:
self.parseError("Parse error (URL)")
- parsed_url = "http://euroshare.eu%s" % found.group(1)
+ parsed_url = "http://euroshare.eu%s" % m.group(1)
self.logDebug("URL", parsed_url)
self.download(parsed_url, disposition=True)