summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilejungleCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-15 16:27:44 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-15 16:27:44 +0200
commit8e47b0de30a25d0fd5dfb518bfe4e1e7beff93fd (patch)
tree518c204aa8edbc8b0d33fe1aaa614e539438fae9 /module/plugins/accounts/FilejungleCom.py
parentPrefer single quote for dict key name (diff)
downloadpyload-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.py2
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)