From 22a63894b3a6bc206458f0c022b8aa6d7e8d5437 Mon Sep 17 00:00:00 2001 From: guidobelix Date: Thu, 23 Oct 2014 09:42:42 +0200 Subject: [SafesharingEu] Added support for registered users. new file: module/plugins/accounts/SafesharingEu.py modified: module/plugins/hoster/SafesharingEu.py --- module/plugins/accounts/SafesharingEu.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/plugins/accounts') diff --git a/module/plugins/accounts/SafesharingEu.py b/module/plugins/accounts/SafesharingEu.py index 10a0bcb93..a2b964cba 100644 --- a/module/plugins/accounts/SafesharingEu.py +++ b/module/plugins/accounts/SafesharingEu.py @@ -1,19 +1,19 @@ # -*- coding: utf-8 -*- -from module.plugins.internal.XFSPAccount import XFSPAccount +from module.plugins.internal.XFSAccount import XFSAccount -class SafesharingEu(XFSPAccount): +class SafesharingEu(XFSAccount): __name__ = "SafesharingEu" __type__ = "account" - __version__ = "0.01" + __version__ = "0.02" __description__ = """Safesharing.eu account plugin""" __license__ = "GPLv3" __authors__ = [("guidobelix", "guidobelix@hotmail.it")] - HOSTER_NAME = "safesharing.eu" + HOSTER_DOMAIN = "safesharing.eu" VALID_UNTIL_PATTERN = r'> Premium.[Aa]ccount expire:(.+?)' TRAFFIC_LEFT_PATTERN = r'> Traffic available today:\s*?(?P[\d.,]+)\s*?(?:(?P[\w^_]+)\s*)?' -- cgit v1.2.3