summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/VeehdCom.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/VeehdCom.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/VeehdCom.py')
-rw-r--r--module/plugins/hoster/VeehdCom.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/VeehdCom.py b/module/plugins/hoster/VeehdCom.py
index 33fa76d47..15cff646f 100644
--- a/module/plugins/hoster/VeehdCom.py
+++ b/module/plugins/hoster/VeehdCom.py
@@ -47,11 +47,11 @@ class VeehdCom(Hoster):
if not self.html:
self.download_html()
- found = re.search(r'<title[^>]*>([^<]+) on Veehd</title>', self.html)
- if found is None:
+ m = re.search(r'<title[^>]*>([^<]+) on Veehd</title>', self.html)
+ if m is None:
self.fail("video title not found")
- name = found.group(1)
+ name = m.group(1)
# replace unwanted characters in filename
if self.getConfig('filename_spaces'):
@@ -67,9 +67,9 @@ class VeehdCom(Hoster):
if not self.html:
self.download_html()
- found = re.search(r'<embed type="video/divx" src="(http://([^/]*\.)?veehd\.com/dl/[^"]+)"',
+ m = re.search(r'<embed type="video/divx" src="(http://([^/]*\.)?veehd\.com/dl/[^"]+)"',
self.html)
- if found is None:
+ if m is None:
self.fail("embedded video url not found")
- return found.group(1)
+ return m.group(1)