summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-04-09 15:35:48 +0200
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-04-09 15:35:48 +0200
commit654ce9a826c4cbddbe15f902547ad30b78b60d43 (patch)
tree16425efc74ee74f761d10f627dd7d58035fe91d1
parent[NitroflareCom] Fix #2185 (diff)
downloadpyload-654ce9a826c4cbddbe15f902547ad30b78b60d43.tar.xz
[NitroflareCom] Update TRAFFIC_LEFT_PATTERN
-rw-r--r--module/plugins/accounts/NitroflareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/NitroflareCom.py b/module/plugins/accounts/NitroflareCom.py
index 438cc0fb9..5fd0ed512 100644
--- a/module/plugins/accounts/NitroflareCom.py
+++ b/module/plugins/accounts/NitroflareCom.py
@@ -11,7 +11,7 @@ from module.plugins.captcha.ReCaptcha import ReCaptcha
class NitroflareCom(Account):
__name__ = "NitroflareCom"
__type__ = "account"
- __version__ = "0.12"
+ __version__ = "0.13"
__status__ = "testing"
__description__ = """Nitroflare.com account plugin"""
@@ -21,7 +21,7 @@ class NitroflareCom(Account):
VALID_UNTIL_PATTERN = r'>Time Left</label><strong>(.+?)</'
- TRAFFIC_LEFT_PATTERN = r'>Your Daily Limit</label><strong>([\d.,]+) / ([\d.,]+)'
+ TRAFFIC_LEFT_PATTERN = r'>Your Daily Limit</label><strong>([\d.,]+) (?:[\w^_]+ )?/ ([\d.,]+)'
LOGIN_FAIL_PATTERN = r'<ul class="errors">\s*<li>'
TOKEN_PATTERN = r'name="token" value="(.+?)"'