summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/PornhubCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/PornhubCom.py')
-rw-r--r--pyload/plugin/hoster/PornhubCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hoster/PornhubCom.py b/pyload/plugin/hoster/PornhubCom.py
index 9f8a5eec2..08ff52891 100644
--- a/pyload/plugin/hoster/PornhubCom.py
+++ b/pyload/plugin/hoster/PornhubCom.py
@@ -64,7 +64,7 @@ class PornhubCom(Hoster):
if not self.html:
self.download_html()
- m = re.search(r'<title[^>]+>([^<]+) - ', self.html)
+ m = re.search(r'<title.+?>([^<]+) - ', self.html)
if m:
name = m.group(1)
else:
@@ -83,7 +83,7 @@ class PornhubCom(Hoster):
if not self.html:
self.download_html()
- if re.search(r'This video is no longer in our database or is in conversion', self.html) is not None:
+ if re.search(r'This video is no longer in our database or is in conversion', self.html):
return False
else:
return True