summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PornhubCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/PornhubCom.py')
-rw-r--r--module/plugins/hoster/PornhubCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/PornhubCom.py b/module/plugins/hoster/PornhubCom.py
index 9cb14c1f6..45dc12929 100644
--- a/module/plugins/hoster/PornhubCom.py
+++ b/module/plugins/hoster/PornhubCom.py
@@ -57,9 +57,9 @@ class PornhubCom(Hoster):
if not self.html:
self.download_html()
- found = re.search(r'<title[^>]+>([^<]+) - ', self.html)
- if found:
- name = found.group(1)
+ m = re.search(r'<title[^>]+>([^<]+) - ', self.html)
+ if m:
+ name = m.group(1)
else:
matches = re.findall('<h1>(.*?)</h1>', self.html)
if len(matches) > 1: