diff options
| author | 2014-04-18 15:48:34 +0200 | |
|---|---|---|
| committer | 2014-04-21 17:23:08 +0200 | |
| commit | 29c90ce58445c1b4c7837da492340925451deeac (patch) | |
| tree | bbb7fa343267c0e850e00a2416eddbfad429f98b /pyload/plugins/accounts | |
| parent | Fix some container __pattern__ (diff) | |
| download | pyload-29c90ce58445c1b4c7837da492340925451deeac.tar.xz | |
Czshare renamed to Sdilej
Merges #584
(cherry picked from commit dc66f2c638c3c87e699d2a8344f53f9bbe8b36c8)
Diffstat (limited to 'pyload/plugins/accounts')
| -rw-r--r-- | pyload/plugins/accounts/CzshareCom.py | 9 | 
1 files changed, 4 insertions, 5 deletions
| 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'<tr class="active">\s*<td>([0-9 ,]+) (KiB|MiB|GiB)</td>\s*<td>([^<]*)</td>\s*</tr>'      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 | 
