diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-08-19 01:48:43 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-08-19 01:48:43 +0200 |
commit | 5bda5e181e66aedb27ab3469a855ae82ab2f780d (patch) | |
tree | 40768a4e25900949046b247e677b1e8aee601e4c /module/plugins | |
parent | Merge pull request #1764 from GammaC0de/patch-2 (diff) | |
parent | OneFichierCom premium detection fixed (diff) | |
download | pyload-5bda5e181e66aedb27ab3469a855ae82ab2f780d.tar.xz |
Merge pull request #1767 from djgreg13/stable
OneFichierCom premium detection fixed
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/accounts/OneFichierCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/OneFichierCom.py b/module/plugins/accounts/OneFichierCom.py index 3a0131a3f..e2e84feef 100644 --- a/module/plugins/accounts/OneFichierCom.py +++ b/module/plugins/accounts/OneFichierCom.py @@ -10,7 +10,7 @@ from module.plugins.internal.Account import Account class OneFichierCom(Account): __name__ = "OneFichierCom" __type__ = "account" - __version__ = "0.14" + __version__ = "0.15" __status__ = "testing" __description__ = """1fichier.com account plugin""" @@ -19,7 +19,7 @@ class OneFichierCom(Account): ("Walter Purcaro", "vuolter@gmail.com")] - VALID_UNTIL_PATTERN = r'Your Premium Status will end the (\d+/\d+/\d+)' + VALID_UNTIL_PATTERN = r'Your subscription will end the (\d+-\d+-\d+)' def parse_info(self, user, password, data, req): @@ -35,7 +35,7 @@ class OneFichierCom(Account): self.log_debug("Expire date: " + expiredate) try: - validuntil = time.mktime(time.strptime(expiredate, "%d/%m/%Y")) + validuntil = time.mktime(time.strptime(expiredate, "%Y-%m-%d")) except Exception, e: self.log_error(e) else: |