summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/account/FilejungleCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/account/FilejungleCom.py')
-rw-r--r--pyload/plugins/account/FilejungleCom.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/pyload/plugins/account/FilejungleCom.py b/pyload/plugins/account/FilejungleCom.py
index d63b0c273..c8b7bb655 100644
--- a/pyload/plugins/account/FilejungleCom.py
+++ b/pyload/plugins/account/FilejungleCom.py
@@ -7,18 +7,19 @@ from pyload.plugins.base.Account import Account
class FilejungleCom(Account):
- __name__ = "FilejungleCom"
- __type__ = "account"
+ __name__ = "FilejungleCom"
+ __type__ = "account"
__version__ = "0.11"
__description__ = """Filejungle.com account plugin"""
- __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
login_timeout = 60
URL = "http://filejungle.com/"
- TRAFFIC_LEFT_PATTERN = r'"/extend_premium\.php">Until (\d+ [A-Za-z]+ \d+)<br'
+ TRAFFIC_LEFT_PATTERN = r'"/extend_premium\.php">Until (\d+ \w+ \d+)<br'
LOGIN_FAILED_PATTERN = r'<span htmlfor="loginUser(Name|Password)" generated="true" class="fail_info">'
@@ -34,6 +35,7 @@ class FilejungleCom(Account):
return {"premium": premium, "trafficleft": -1, "validuntil": validuntil}
+
def login(self, user, data, req):
html = req.load(self.URL + "login.php", post={
"loginUserName": user,