summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FourSharedCom.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/FourSharedCom.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/FourSharedCom.py')
-rw-r--r--module/plugins/hoster/FourSharedCom.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/FourSharedCom.py b/module/plugins/hoster/FourSharedCom.py
index 2668a22d3..960a772ef 100644
--- a/module/plugins/hoster/FourSharedCom.py
+++ b/module/plugins/hoster/FourSharedCom.py
@@ -13,8 +13,9 @@ class FourSharedCom(SimpleHoster):
__pattern__ = r'https?://(?:www\.)?4shared(\-china)?\.com/(account/)?(download|get|file|document|photo|video|audio|mp3|office|rar|zip|archive|music)/.+?/.*'
__description__ = """4Shared.com hoster plugin"""
- __author_name__ = ("jeix", "zoidberg")
- __author_mail__ = ("jeix@hasnomail.de", "zoidberg@mujmail.cz")
+ __authors__ = [("jeix", "jeix@hasnomail.de"),
+ ("zoidberg", "zoidberg@mujmail.cz")]
+
FILE_NAME_PATTERN = r'<meta name="title" content="(?P<N>.+?)"'
FILE_SIZE_PATTERN = r'<span title="Size: (?P<S>[0-9,.]+) (?P<U>[kKMG])i?B">'