diff options
author | Guido Galliani <guidobelix@archlinux.home> | 2014-10-24 07:11:55 +0200 |
---|---|---|
committer | Guidobelix <guidobelix@hotmail.it> | 2014-11-30 22:28:52 +0100 |
commit | c8f619e773e836c4c03462a5b1095599396bf79e (patch) | |
tree | 147d4ed5128d244e88c41ab5fb7be1ad76f49034 /module/plugins/accounts | |
parent | [SafesharingEu] Added support for registered users. (diff) | |
download | pyload-c8f619e773e836c4c03462a5b1095599396bf79e.tar.xz |
[SafesharingEu] Improved patterns
modified: module/plugins/accounts/SafesharingEu.py
modified: module/plugins/hoster/SafesharingEu.py
Diffstat (limited to 'module/plugins/accounts')
-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>' |