diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-11 15:09:53 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-11 15:15:44 +0200 |
commit | c5d1a4fd8943877c6d2eb3843e0de725dba5191e (patch) | |
tree | 6ea55dfeef75372f0c722985e578f87b78a2f7dc /module/plugins/accounts | |
parent | Pattern update 1 (diff) | |
download | pyload-c5d1a4fd8943877c6d2eb3843e0de725dba5191e.tar.xz |
Pattern update 2
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/MultishareCz.py | 2 | ||||
-rw-r--r-- | module/plugins/accounts/TusfilesNet.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/MultishareCz.py b/module/plugins/accounts/MultishareCz.py index 6d2f0d64f..8e6b72a97 100644 --- a/module/plugins/accounts/MultishareCz.py +++ b/module/plugins/accounts/MultishareCz.py @@ -17,7 +17,7 @@ class MultishareCz(Account): __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] - TRAFFIC_LEFT_PATTERN = r'<span class="profil-zvyrazneni">Kredit:</span>\s*<strong>(?P<S>[\d,]+) (?P<U>\w+)</strong>' + TRAFFIC_LEFT_PATTERN = r'<span class="profil-zvyrazneni">Kredit:</span>\s*<strong>(?P<S>[\d.,]+) (?P<U>\w+)</strong>' ACCOUNT_INFO_PATTERN = r'<input type="hidden" id="(u_ID|u_hash)" name="[^"]*" value="([^"]+)">' diff --git a/module/plugins/accounts/TusfilesNet.py b/module/plugins/accounts/TusfilesNet.py index 704f70742..a1b3613b2 100644 --- a/module/plugins/accounts/TusfilesNet.py +++ b/module/plugins/accounts/TusfilesNet.py @@ -21,7 +21,7 @@ class TusfilesNet(XFSPAccount): HOSTER_URL = "http://www.tusfiles.net/" VALID_UNTIL_PATTERN = r'<span class="label label-default">([^<]+)</span>' - TRAFFIC_LEFT_PATTERN = r'<td><img src="//www.tusfiles.net/i/icon/meter.png" alt=""/></td>\n<td> (?P<S>[^<]+)</td>' + TRAFFIC_LEFT_PATTERN = r'<td><img src="//www\.tusfiles\.net/i/icon/meter\.png" alt=""/></td>\n<td> (?P<S>[^<]+)</td>' def loadAccountInfo(self, user, req): |