diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-07 17:32:49 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-07 17:32:49 +0100 |
commit | d129267e022e1591de5dfbcc118f534a573eb400 (patch) | |
tree | 8995fd6c29742671a470667d59e8e6d167ed448b /module/plugins/hoster/PornhubCom.py | |
parent | Merge pull request #32 from stickell/patch-1 (diff) | |
parent | Various fixes in 24 plugins (diff) | |
download | pyload-d129267e022e1591de5dfbcc118f534a573eb400.tar.xz |
Merge pull request #34 from stickell/fixes
Various fixes in 24 plugins
Diffstat (limited to 'module/plugins/hoster/PornhubCom.py')
-rw-r--r-- | module/plugins/hoster/PornhubCom.py | 4 |
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:
|