From 9395182da7afed55a29bde1c7cbefe4204e783f0 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 20 Jul 2014 03:02:09 +0200 Subject: Store all re.search/match object as "m" instead "found" --- module/plugins/hoster/VeehdCom.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'module/plugins/hoster/VeehdCom.py') 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']*>([^<]+) on Veehd', self.html) - if found is None: + m = re.search(r']*>([^<]+) on Veehd', 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'