diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-01 18:52:21 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-01 18:52:21 +0100 |
commit | d651ed468f2f38c7e81fa9c7945b3e996461e8bb (patch) | |
tree | 9c1cb8dda232226961a0cde750f0d372f130bef7 /module/plugins/accounts | |
parent | [XFSAccount] Improve patterns (diff) | |
download | pyload-d651ed468f2f38c7e81fa9c7945b3e996461e8bb.tar.xz |
[SafesharingEu] Cleanup
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/SafesharingEu.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/module/plugins/accounts/SafesharingEu.py b/module/plugins/accounts/SafesharingEu.py index a2b964cba..2e58d33b3 100644 --- a/module/plugins/accounts/SafesharingEu.py +++ b/module/plugins/accounts/SafesharingEu.py @@ -4,16 +4,13 @@ from module.plugins.internal.XFSAccount import XFSAccount class SafesharingEu(XFSAccount): - __name__ = "SafesharingEu" - __type__ = "account" + __name__ = "SafesharingEu" + __type__ = "account" __version__ = "0.02" __description__ = """Safesharing.eu account plugin""" - __license__ = "GPLv3" - __authors__ = [("guidobelix", "guidobelix@hotmail.it")] + __license__ = "GPLv3" + __authors__ = [("guidobelix", "guidobelix@hotmail.it")] HOSTER_DOMAIN = "safesharing.eu" - - VALID_UNTIL_PATTERN = r'> Premium.[Aa]ccount expire:(.+?)</div>' - TRAFFIC_LEFT_PATTERN = r'> Traffic available today:\s*?(?P<S>[\d.,]+)\s*?(?:(?P<U>[\w^_]+)\s*)?</div>' |