diff options
Diffstat (limited to 'module/plugins/accounts/SafesharingEu.py')
-rw-r--r-- | module/plugins/accounts/SafesharingEu.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/accounts/SafesharingEu.py b/module/plugins/accounts/SafesharingEu.py index 55ea129ca..10a0bcb93 100644 --- a/module/plugins/accounts/SafesharingEu.py +++ b/module/plugins/accounts/SafesharingEu.py @@ -13,4 +13,7 @@ class SafesharingEu(XFSPAccount): __authors__ = [("guidobelix", "guidobelix@hotmail.it")] - HOSTER_URL = "http://www.safesharing.eu/" + HOSTER_NAME = "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>' |