diff options
Diffstat (limited to 'pyload/plugins/accounts/MultishareCz.py')
-rw-r--r-- | pyload/plugins/accounts/MultishareCz.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/pyload/plugins/accounts/MultishareCz.py b/pyload/plugins/accounts/MultishareCz.py index a50ced431..273936615 100644 --- a/pyload/plugins/accounts/MultishareCz.py +++ b/pyload/plugins/accounts/MultishareCz.py @@ -17,14 +17,14 @@ @author: zoidberg """ -from pyload.plugins.MultiHoster import MultiHoster +from module.plugins.Account import Account #from time import mktime, strptime #from pycurl import REFERER import re -from pyload.utils import parseFileSize +from module.utils import parseFileSize -class MultishareCz(MultiHoster): +class MultishareCz(Account): __name__ = "MultishareCz" __version__ = "0.02" __type__ = "account" @@ -34,7 +34,6 @@ class MultishareCz(MultiHoster): TRAFFIC_LEFT_PATTERN = r'<span class="profil-zvyrazneni">Kredit:</span>\s*<strong>(?P<S>[0-9,]+) (?P<U>\w+)</strong>' ACCOUNT_INFO_PATTERN = r'<input type="hidden" id="(u_ID|u_hash)" name="[^"]*" value="([^"]+)">' - HOSTER_PATTERN = r'<img class="logo-shareserveru"[^>]*?alt="([^"]+)"></td>\s*<td class="stav">[^>]*?alt="OK"' def loadAccountInfo(self, user, req): #self.relogin(user) @@ -57,8 +56,4 @@ class MultishareCz(MultiHoster): }, decode=True) if '<div class="akce-chyba akce">' in html: - self.wrongPassword() - - def loadHosterList(self, req): - page = req.load("http://www.multishare.cz/monitoring/") - return re.findall(self.HOSTER_PATTERN, page) + self.wrongPassword()
\ No newline at end of file |