summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PornhubCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-03-07 16:41:25 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2013-03-07 16:41:25 +0100
commit8368a9a74d998b314f3864dcc8ce25c513d85cf9 (patch)
tree8995fd6c29742671a470667d59e8e6d167ed448b /module/plugins/hoster/PornhubCom.py
parentMerge pull request #32 from stickell/patch-1 (diff)
downloadpyload-8368a9a74d998b314f3864dcc8ce25c513d85cf9.tar.xz
Various fixes in 24 plugins
Diffstat (limited to 'module/plugins/hoster/PornhubCom.py')
-rw-r--r--module/plugins/hoster/PornhubCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/PornhubCom.py b/module/plugins/hoster/PornhubCom.py
index 445627873..e1ed612b9 100644
--- a/module/plugins/hoster/PornhubCom.py
+++ b/module/plugins/hoster/PornhubCom.py
@@ -8,7 +8,7 @@ class PornhubCom(Hoster):
__name__ = "PornhubCom"
__type__ = "hoster"
__pattern__ = r'http://[\w\.]*?pornhub\.com/view_video\.php\?viewkey=[\w\d]+'
- __version__ = "0.4"
+ __version__ = "0.5"
__description__ = """Pornhub.com Download Hoster"""
__author_name__ = ("jeix")
__author_mail__ = ("jeix@hasnomail.de")
@@ -61,7 +61,7 @@ class PornhubCom(Hoster):
match = re.search(r'<title[^>]+>([^<]+) - ', self.html)
if match:
- name = re.group(1)
+ name = match.group(1)
else:
matches = re.findall('<h1>(.*?)</h1>', self.html)
if len(matches) > 1: