summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FastshareCz.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/FastshareCz.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/FastshareCz.py')
-rw-r--r--module/plugins/hoster/FastshareCz.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/hoster/FastshareCz.py b/module/plugins/hoster/FastshareCz.py
index 7a70baf93..58fc16946 100644
--- a/module/plugins/hoster/FastshareCz.py
+++ b/module/plugins/hoster/FastshareCz.py
@@ -18,8 +18,10 @@ class FastshareCz(SimpleHoster):
__pattern__ = r'http://(?:www\.)?fastshare\.cz/\d+/.+'
__description__ = """FastShare.cz hoster plugin"""
- __author_name__ = ("zoidberg", "stickell", "Walter Purcaro")
- __author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it", "vuolter@gmail.com")
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz"),
+ ("stickell", "l.stickell@yahoo.it"),
+ ("Walter Purcaro", "vuolter@gmail.com")]
+
FILE_INFO_PATTERN = r'<h1 class="dwp">(?P<N>[^<]+)</h1>\s*<div class="fileinfo">\s*Size\s*: (?P<S>\d+) (?P<U>\w+),'
OFFLINE_PATTERN = r'>(The file has been deleted|Requested page not found)'