From 52dabdbe4241b6c6af8bc139d480be5ed2af2294 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 21 Oct 2015 01:51:12 +0200 Subject: Boring code cosmetics (2) --- module/plugins/internal/XFSAccount.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'module/plugins/internal/XFSAccount.py') 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:.*?\s*(?P[\d.,]+|[Uu]nlimited)\s*(?:(?P[\w^_]+)\s*)?' - TRAFFIC_LEFT_UNIT = "MB" #: Used only if no group was found + TRAFFIC_LEFT_PATTERN = r'Traffic available today:.*?\s*(?P[\d.,]+|[Uu]nlimited)\s*(?:(?P[\w^_]+)\s*)?' + TRAFFIC_LEFT_UNIT = "MB" #: Used only if no group was found LEECH_TRAFFIC_PATTERN = r'Leech Traffic left:.*?(?P[\d.,]+|[Uu]nlimited)\s*(?:(?P[\w^_]+)\s*)?' LEECH_TRAFFIC_UNIT = "MB" #: Used only if no group was found - LOGIN_FAIL_PATTERN = r'Incorrect Login or Password|account was banned|Error<' - LOGIN_BAN_PATTERN = r'>(Your IP.+?)(Your IP.+?)