summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/XHamsterCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-07 18:57:59 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-07 18:57:59 +0200
commitb0868ae6446078bacf1635dde5e4ab316b4a94cb (patch)
tree1f5eb9bf4dfd413b954b2ea87749cd10da19de0e /module/plugins/hoster/XHamsterCom.py
parent[SimpleCrypter][SimpleHoster] Better exception handling (diff)
downloadpyload-b0868ae6446078bacf1635dde5e4ab316b4a94cb.tar.xz
New __authors__ key replaces __author_name__ and __author_mail__ + Whitespaces and EOF fixup
Diffstat (limited to 'module/plugins/hoster/XHamsterCom.py')
-rw-r--r--module/plugins/hoster/XHamsterCom.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/XHamsterCom.py b/module/plugins/hoster/XHamsterCom.py
index 3e002a0bb..4224ecb34 100644
--- a/module/plugins/hoster/XHamsterCom.py
+++ b/module/plugins/hoster/XHamsterCom.py
@@ -25,8 +25,7 @@ class XHamsterCom(Hoster):
__config__ = [("type", ".mp4;.flv", "Preferred type", ".mp4")]
__description__ = """XHamster.com hoster plugin"""
- __author_name__ = None
- __author_mail__ = None
+ __authors__ = []
def process(self, pyfile):
@@ -67,6 +66,8 @@ class XHamsterCom(Hoster):
if flashvars['url_mode']:
url_mode = flashvars['url_mode']
+
+
else:
self.fail("Parse error (url_mode)")