diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-04 20:09:55 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-04 20:09:55 +0200 |
commit | cf6531b2c87fea99fd03884636bac4c80d1b475d (patch) | |
tree | c39125695c85662d2279af57082b36e1718d574a /module/plugins/accounts | |
parent | Fixpack (2) (diff) | |
download | pyload-cf6531b2c87fea99fd03884636bac4c80d1b475d.tar.xz |
Fixpack (3)
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/FreakshareCom.py | 2 | ||||
-rw-r--r-- | module/plugins/accounts/HellshareCz.py | 2 | ||||
-rw-r--r-- | module/plugins/accounts/OneFichierCom.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/FreakshareCom.py b/module/plugins/accounts/FreakshareCom.py index a319096db..8cb0436fc 100644 --- a/module/plugins/accounts/FreakshareCom.py +++ b/module/plugins/accounts/FreakshareCom.py @@ -25,7 +25,7 @@ class FreakshareCom(Account): html = self.load("http://freakshare.com/") try: - m = re.search(r'ltig bis:</td>\s*<td><b>([\d.:-]+)</b></td>', html, re.M) + m = re.search(r'ltig bis:</td>\s*<td><b>([\d.:\-]+)</b></td>', html, re.M) validuntil = time.mktime(time.strptime(m.group(1), "%d.%m.%Y - %H:%M")) except Exception: diff --git a/module/plugins/accounts/HellshareCz.py b/module/plugins/accounts/HellshareCz.py index 5423b212f..b0cd87938 100644 --- a/module/plugins/accounts/HellshareCz.py +++ b/module/plugins/accounts/HellshareCz.py @@ -59,7 +59,7 @@ class HellshareCz(Account): self.log_debug("Switch lang - URL: %s" % self.req.lastEffectiveURL) json = self.load("%s?do=locRouter-show" % self.req.lastEffectiveURL) - hash = re.search(r"(--[0-9a-f]+-)", json).group(1) + hash = re.search(r"(--[0-9a-f]+\-)", json).group(1) self.log_debug("Switch lang - HASH: %s" % hash) diff --git a/module/plugins/accounts/OneFichierCom.py b/module/plugins/accounts/OneFichierCom.py index 0249f2b93..42838690e 100644 --- a/module/plugins/accounts/OneFichierCom.py +++ b/module/plugins/accounts/OneFichierCom.py @@ -19,7 +19,7 @@ class OneFichierCom(Account): ("Walter Purcaro", "vuolter@gmail.com")] - VALID_UNTIL_PATTERN = r'Your subscription will end the (\d+-\d+-\d+)' + VALID_UNTIL_PATTERN = r'Your subscription will end the (\d+\-\d+\-\d+)' def grab_info(self, user, password, data): |