diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-07 18:57:59 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-07 18:57:59 +0200 |
commit | b0868ae6446078bacf1635dde5e4ab316b4a94cb (patch) | |
tree | 1f5eb9bf4dfd413b954b2ea87749cd10da19de0e /module/plugins/hoster/TwoSharedCom.py | |
parent | [SimpleCrypter][SimpleHoster] Better exception handling (diff) | |
download | pyload-b0868ae6446078bacf1635dde5e4ab316b4a94cb.tar.xz |
New __authors__ key replaces __author_name__ and __author_mail__ + Whitespaces and EOF fixup
Diffstat (limited to 'module/plugins/hoster/TwoSharedCom.py')
-rw-r--r-- | module/plugins/hoster/TwoSharedCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/TwoSharedCom.py b/module/plugins/hoster/TwoSharedCom.py index dbd33dd83..d9cf4479b 100644 --- a/module/plugins/hoster/TwoSharedCom.py +++ b/module/plugins/hoster/TwoSharedCom.py @@ -13,8 +13,8 @@ class TwoSharedCom(SimpleHoster): __pattern__ = r'http://(?:www\.)?2shared.com/(account/)?(download|get|file|document|photo|video|audio)/.*' __description__ = """2Shared.com hoster plugin""" - __author_name__ = "zoidberg" - __author_mail__ = "zoidberg@mujmail.cz" + __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] + FILE_NAME_PATTERN = r'<h1>(?P<N>.*)</h1>' FILE_SIZE_PATTERN = r'<span class="dtitle">File size:</span>\s*(?P<S>[0-9,.]+) (?P<U>[kKMG])i?B' |