diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-08 03:08:17 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-08 03:08:17 +0200 |
commit | 035d8c554c9e24206f9dc6f76e17fbe9e4c3607f (patch) | |
tree | 3b173d98512f33233d4aeb2906493d3abeea2369 /module/plugins/accounts | |
parent | Merge pull request #1957 from GammaC0de/patch-3 (diff) | |
download | pyload-035d8c554c9e24206f9dc6f76e17fbe9e4c3607f.tar.xz |
Fixpack (4)
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/CzshareCom.py | 2 | ||||
-rw-r--r-- | module/plugins/accounts/Keep2ShareCc.py | 4 | ||||
-rw-r--r-- | module/plugins/accounts/MegasharesCom.py | 2 | ||||
-rw-r--r-- | module/plugins/accounts/NitroflareCom.py | 4 | ||||
-rw-r--r-- | module/plugins/accounts/NowVideoSx.py | 2 | ||||
-rw-r--r-- | module/plugins/accounts/OneFichierCom.py | 3 | ||||
-rw-r--r-- | module/plugins/accounts/RapidgatorNet.py | 4 | ||||
-rw-r--r-- | module/plugins/accounts/UploadingCom.py | 2 |
8 files changed, 12 insertions, 11 deletions
diff --git a/module/plugins/accounts/CzshareCom.py b/module/plugins/accounts/CzshareCom.py index 0c60e64d0..fd02abe0f 100644 --- a/module/plugins/accounts/CzshareCom.py +++ b/module/plugins/accounts/CzshareCom.py @@ -34,7 +34,7 @@ class CzshareCom(Account): validuntil = time.mktime(time.strptime(m.group(3), '%d.%m.%y %H:%M')) except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) else: premium = True diff --git a/module/plugins/accounts/Keep2ShareCc.py b/module/plugins/accounts/Keep2ShareCc.py index 32bccc2e4..494f2938f 100644 --- a/module/plugins/accounts/Keep2ShareCc.py +++ b/module/plugins/accounts/Keep2ShareCc.py @@ -45,7 +45,7 @@ class Keep2ShareCc(Account): validuntil = time.mktime(time.strptime(expiredate, "%Y.%m.%d")) except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) else: premium = True if validuntil > time.mktime(time.gmtime()) else False @@ -56,7 +56,7 @@ class Keep2ShareCc(Account): trafficleft = self.parse_traffic(m.group(1)) except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) return {'validuntil': validuntil, 'trafficleft': trafficleft, 'premium': premium} diff --git a/module/plugins/accounts/MegasharesCom.py b/module/plugins/accounts/MegasharesCom.py index ee9be072b..9b4fda9f7 100644 --- a/module/plugins/accounts/MegasharesCom.py +++ b/module/plugins/accounts/MegasharesCom.py @@ -32,7 +32,7 @@ class MegasharesCom(Account): validuntil = time.mktime(time.strptime(timestr, "%b %d, %Y")) except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) return {'validuntil': validuntil, 'trafficleft': -1, 'premium': premium} diff --git a/module/plugins/accounts/NitroflareCom.py b/module/plugins/accounts/NitroflareCom.py index af71b1321..0b9e67a7c 100644 --- a/module/plugins/accounts/NitroflareCom.py +++ b/module/plugins/accounts/NitroflareCom.py @@ -42,7 +42,7 @@ class NitroflareCom(Account): re.findall(r'(\d+)\s*(day|hour|minute)', expiredate, re.I)) except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) else: self.log_debug("Valid until: %s" % validuntil) @@ -59,7 +59,7 @@ class NitroflareCom(Account): trafficleft = self.parse_traffic(str(max(0, 50 - float(m.group(1)))), "GB") except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) else: self.log_debug("TRAFFIC_LEFT_PATTERN not found") diff --git a/module/plugins/accounts/NowVideoSx.py b/module/plugins/accounts/NowVideoSx.py index 36d26930a..3375207d9 100644 --- a/module/plugins/accounts/NowVideoSx.py +++ b/module/plugins/accounts/NowVideoSx.py @@ -36,7 +36,7 @@ class NowVideoSx(Account): validuntil = time.mktime(time.strptime(expiredate, "%Y-%b-%d")) except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) else: if validuntil > time.mktime(time.gmtime()): diff --git a/module/plugins/accounts/OneFichierCom.py b/module/plugins/accounts/OneFichierCom.py index 42838690e..56d9c16a8 100644 --- a/module/plugins/accounts/OneFichierCom.py +++ b/module/plugins/accounts/OneFichierCom.py @@ -38,7 +38,8 @@ class OneFichierCom(Account): validuntil = time.mktime(time.strptime(expiredate, "%Y-%m-%d")) except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) + else: premium = True diff --git a/module/plugins/accounts/RapidgatorNet.py b/module/plugins/accounts/RapidgatorNet.py index f1177530f..ea6da4c4b 100644 --- a/module/plugins/accounts/RapidgatorNet.py +++ b/module/plugins/accounts/RapidgatorNet.py @@ -48,7 +48,7 @@ class RapidgatorNet(Account): self.log_error(json['response_details']) except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) return {'validuntil' : validuntil, 'trafficleft': trafficleft, @@ -73,6 +73,6 @@ class RapidgatorNet(Account): self.log_error(json['response_details']) except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) self.fail_login() diff --git a/module/plugins/accounts/UploadingCom.py b/module/plugins/accounts/UploadingCom.py index c038d1ebc..6c7103b21 100644 --- a/module/plugins/accounts/UploadingCom.py +++ b/module/plugins/accounts/UploadingCom.py @@ -40,7 +40,7 @@ class UploadingCom(Account): validuntil = time.mktime(time.strptime(expiredate, "%b %d, %Y")) except Exception, e: - self.log_error(e) + self.log_error(e, trace=True) else: if validuntil > time.mktime(time.gmtime()): |