diff options
Diffstat (limited to 'module/plugins/internal/XFSAccount.py')
-rw-r--r-- | module/plugins/internal/XFSAccount.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/module/plugins/internal/XFSAccount.py b/module/plugins/internal/XFSAccount.py index e09f7dddc..1b424c964 100644 --- a/module/plugins/internal/XFSAccount.py +++ b/module/plugins/internal/XFSAccount.py @@ -26,25 +26,25 @@ class XFSAccount(MultiAccount): ("Walter Purcaro", "vuolter@gmail.com" )] - PLUGIN_DOMAIN = None - PLUGIN_URL = None - LOGIN_URL = None + PLUGIN_DOMAIN = None + PLUGIN_URL = None + LOGIN_URL = None - COOKIES = True + COOKIES = True - PREMIUM_PATTERN = r'\(Premium only\)' + PREMIUM_PATTERN = r'\(Premium only\)' - VALID_UNTIL_PATTERN = r'Premium.[Aa]ccount expire:.*?(\d{1,2} [\w^_]+ \d{4})' + VALID_UNTIL_PATTERN = r'Premium.[Aa]ccount expire:.*?(\d{1,2} [\w^_]+ \d{4})' - TRAFFIC_LEFT_PATTERN = r'Traffic available today:.*?<b>\s*(?P<S>[\d.,]+|[Uu]nlimited)\s*(?:(?P<U>[\w^_]+)\s*)?</b>' - TRAFFIC_LEFT_UNIT = "MB" #: Used only if no group <U> was found + TRAFFIC_LEFT_PATTERN = r'Traffic available today:.*?<b>\s*(?P<S>[\d.,]+|[Uu]nlimited)\s*(?:(?P<U>[\w^_]+)\s*)?</b>' + TRAFFIC_LEFT_UNIT = "MB" #: Used only if no group <U> was found LEECH_TRAFFIC_PATTERN = r'Leech Traffic left:<b>.*?(?P<S>[\d.,]+|[Uu]nlimited)\s*(?:(?P<U>[\w^_]+)\s*)?</b>' LEECH_TRAFFIC_UNIT = "MB" #: Used only if no group <U> was found - LOGIN_FAIL_PATTERN = r'Incorrect Login or Password|account was banned|Error<' - LOGIN_BAN_PATTERN = r'>(Your IP.+?)<a' - LOGIN_SKIP_PATTERN = r'op=logout' + LOGIN_FAIL_PATTERN = r'Incorrect Login or Password|account was banned|Error<' + LOGIN_BAN_PATTERN = r'>(Your IP.+?)<a' + LOGIN_SKIP_PATTERN = r'op=logout' def set_xfs_cookie(self): |