From 29c90ce58445c1b4c7837da492340925451deeac Mon Sep 17 00:00:00 2001 From: BlackSmith Date: Fri, 18 Apr 2014 15:48:34 +0200 Subject: Czshare renamed to Sdilej Merges #584 (cherry picked from commit dc66f2c638c3c87e699d2a8344f53f9bbe8b36c8) --- pyload/plugins/accounts/CzshareCom.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'pyload/plugins/accounts/CzshareCom.py') diff --git a/pyload/plugins/accounts/CzshareCom.py b/pyload/plugins/accounts/CzshareCom.py index fc0b98793..bdd2000c9 100644 --- a/pyload/plugins/accounts/CzshareCom.py +++ b/pyload/plugins/accounts/CzshareCom.py @@ -25,16 +25,16 @@ from module.plugins.Account import Account class CzshareCom(Account): __name__ = "CzshareCom" - __version__ = "0.13" + __version__ = "0.14" __type__ = "account" - __description__ = """Czshare.com account plugin""" + __description__ = """Czshare.com account plugin, now Sdilej.cz""" __author_name__ = ("zoidberg", "stickell") __author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it") CREDIT_LEFT_PATTERN = r'\s*([0-9 ,]+) (KiB|MiB|GiB)\s*([^<]*)\s*' def loadAccountInfo(self, user, req): - html = req.load("http://czshare.com/prehled_kreditu/") + html = req.load("http://sdilej.cz/prehled_kreditu/") found = re.search(self.CREDIT_LEFT_PATTERN, html) if not found: @@ -46,8 +46,7 @@ class CzshareCom(Account): return {"validuntil": validuntil, "trafficleft": credits} def login(self, user, data, req): - - html = req.load('https://czshare.com/index.php', post={ + html = req.load('https://sdilej.cz/index.php', post={ "Prihlasit": "Prihlasit", "login-password": data["password"], "login-name": user -- cgit v1.2.3