diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-15 16:27:44 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-15 16:27:44 +0200 |
commit | 8e47b0de30a25d0fd5dfb518bfe4e1e7beff93fd (patch) | |
tree | 518c204aa8edbc8b0d33fe1aaa614e539438fae9 /module/plugins/accounts/FilejungleCom.py | |
parent | Prefer single quote for dict key name (diff) | |
download | pyload-8e47b0de30a25d0fd5dfb518bfe4e1e7beff93fd.tar.xz |
Key attributes cleanup for account, container and crypter plugins
Diffstat (limited to 'module/plugins/accounts/FilejungleCom.py')
-rw-r--r-- | module/plugins/accounts/FilejungleCom.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/accounts/FilejungleCom.py b/module/plugins/accounts/FilejungleCom.py index 9ca35537a..e105d1e26 100644 --- a/module/plugins/accounts/FilejungleCom.py +++ b/module/plugins/accounts/FilejungleCom.py @@ -25,6 +25,7 @@ class FilejungleCom(Account): __name__ = "FilejungleCom" __version__ = "0.11" __type__ = "account" + __description__ = """Filejungle.com account plugin""" __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" @@ -35,6 +36,7 @@ class FilejungleCom(Account): TRAFFIC_LEFT_PATTERN = r'"/extend_premium\.php">Until (\d+ [A-Za-z]+ \d+)<br' LOGIN_FAILED_PATTERN = r'<span htmlfor="loginUser(Name|Password)" generated="true" class="fail_info">' + def loadAccountInfo(self, user, req): html = req.load(self.URL + "dashboard.php") found = re.search(self.TRAFFIC_LEFT_PATTERN, html) |