From d561ec9fbd26f4fcc98b924b2e34c8be9cf6f22d Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Sat, 11 Aug 2012 01:20:42 +0200 Subject: coolshare.cz + warserver.cz premium support --- module/plugins/accounts/WarserverCz.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 module/plugins/accounts/WarserverCz.py (limited to 'module/plugins/accounts/WarserverCz.py') diff --git a/module/plugins/accounts/WarserverCz.py b/module/plugins/accounts/WarserverCz.py new file mode 100644 index 000000000..b3cafdb5f --- /dev/null +++ b/module/plugins/accounts/WarserverCz.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- + +""" + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, + or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . + + @author: zoidberg +""" + +from module.plugins.accounts.CoolshareCz import CoolshareCz +import re +from module.utils import parseFileSize +from time import mktime, strptime + +class WarserverCz(CoolshareCz): + __name__ = "WarserverCz" + __version__ = "0.01" + __type__ = "account" + __description__ = """Warserver.cz account plugin""" + __author_name__ = ("zoidberg") + __author_mail__ = ("zoidberg@mujmail.cz") + + DOMAIN = "http://www.warserver.cz" \ No newline at end of file -- cgit v1.2.3