summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
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
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')
-rw-r--r--module/plugins/accounts/AlldebridCom.py2
-rw-r--r--module/plugins/accounts/BayfilesCom.py2
-rw-r--r--module/plugins/accounts/BitshareCom.py2
-rw-r--r--module/plugins/accounts/CramitIn.py1
-rw-r--r--module/plugins/accounts/CyberlockerCh.py2
-rw-r--r--module/plugins/accounts/CzshareCom.py2
-rw-r--r--module/plugins/accounts/DdlstorageCom.py2
-rw-r--r--module/plugins/accounts/DebridItaliaCom.py2
-rw-r--r--module/plugins/accounts/DepositfilesCom.py2
-rw-r--r--module/plugins/accounts/EasybytezCom.py2
-rw-r--r--module/plugins/accounts/EgoFilesCom.py2
-rw-r--r--module/plugins/accounts/EuroshareEu.py2
-rw-r--r--module/plugins/accounts/FastixRu.py2
-rw-r--r--module/plugins/accounts/FastshareCz.py2
-rw-r--r--module/plugins/accounts/File4safeCom.py1
-rw-r--r--module/plugins/accounts/FilecloudIo.py2
-rw-r--r--module/plugins/accounts/FilefactoryCom.py2
-rw-r--r--module/plugins/accounts/FilejungleCom.py2
-rw-r--r--module/plugins/accounts/FilerNet.py2
-rw-r--r--module/plugins/accounts/FilerioCom.py1
-rw-r--r--module/plugins/accounts/FilesMailRu.py2
-rw-r--r--module/plugins/accounts/FileserveCom.py2
-rw-r--r--module/plugins/accounts/FourSharedCom.py2
-rw-r--r--module/plugins/accounts/FreakshareCom.py2
-rw-r--r--module/plugins/accounts/FreeWayMe.py2
-rw-r--r--module/plugins/accounts/FshareVn.py2
-rw-r--r--module/plugins/accounts/Ftp.py2
-rw-r--r--module/plugins/accounts/HellshareCz.py2
-rw-r--r--module/plugins/accounts/HotfileCom.py2
-rw-r--r--module/plugins/accounts/Http.py2
-rw-r--r--module/plugins/accounts/LetitbitNet.py2
-rw-r--r--module/plugins/accounts/LinksnappyCom.py2
-rw-r--r--module/plugins/accounts/MegaDebridEu.py2
-rw-r--r--module/plugins/accounts/MegasharesCom.py2
-rw-r--r--module/plugins/accounts/MovReelCom.py1
-rw-r--r--module/plugins/accounts/MultiDebridCom.py2
-rw-r--r--module/plugins/accounts/MultishareCz.py2
-rwxr-xr-xmodule/plugins/accounts/NetloadIn.py2
-rw-r--r--module/plugins/accounts/OboomCom.py2
-rw-r--r--module/plugins/accounts/OneFichierCom.py1
-rw-r--r--module/plugins/accounts/OverLoadMe.py2
-rw-r--r--module/plugins/accounts/Premium4Me.py2
-rw-r--r--module/plugins/accounts/PremiumizeMe.py2
-rw-r--r--module/plugins/accounts/QuickshareCz.py2
-rw-r--r--module/plugins/accounts/RPNetBiz.py2
-rw-r--r--module/plugins/accounts/RapidgatorNet.py2
-rw-r--r--module/plugins/accounts/RapidshareCom.py2
-rw-r--r--module/plugins/accounts/RarefileNet.py1
-rw-r--r--module/plugins/accounts/RealdebridCom.py2
-rw-r--r--module/plugins/accounts/RehostTo.py2
-rw-r--r--module/plugins/accounts/RyushareCom.py2
-rw-r--r--module/plugins/accounts/ShareRapidCom.py2
-rw-r--r--module/plugins/accounts/ShareonlineBiz.py2
-rw-r--r--module/plugins/accounts/SimplyPremiumCom.py2
-rw-r--r--module/plugins/accounts/SimplydebridCom.py2
-rw-r--r--module/plugins/accounts/StahnuTo.py1
-rw-r--r--module/plugins/accounts/TurbobitNet.py1
-rw-r--r--module/plugins/accounts/UlozTo.py2
-rw-r--r--module/plugins/accounts/UnrestrictLi.py2
-rw-r--r--module/plugins/accounts/UploadedTo.py2
-rw-r--r--module/plugins/accounts/UploadheroCom.py2
-rw-r--r--module/plugins/accounts/UploadingCom.py2
-rw-r--r--module/plugins/accounts/UptoboxCom.py1
-rw-r--r--module/plugins/accounts/YibaishiwuCom.py2
-rw-r--r--module/plugins/accounts/ZeveraCom.py2
65 files changed, 121 insertions, 0 deletions
diff --git a/module/plugins/accounts/AlldebridCom.py b/module/plugins/accounts/AlldebridCom.py
index ee0a2ff28..122d23447 100644
--- a/module/plugins/accounts/AlldebridCom.py
+++ b/module/plugins/accounts/AlldebridCom.py
@@ -13,10 +13,12 @@ class AlldebridCom(Account):
__name__ = "AlldebridCom"
__version__ = "0.22"
__type__ = "account"
+
__description__ = """AllDebrid.com account plugin"""
__author_name__ = "Andy Voigt"
__author_mail__ = "spamsales@online.de"
+
def loadAccountInfo(self, user, req):
data = self.getAccountData(user)
page = req.load("http://www.alldebrid.com/account/")
diff --git a/module/plugins/accounts/BayfilesCom.py b/module/plugins/accounts/BayfilesCom.py
index 8f11af2ef..9d497ccb2 100644
--- a/module/plugins/accounts/BayfilesCom.py
+++ b/module/plugins/accounts/BayfilesCom.py
@@ -25,10 +25,12 @@ class BayfilesCom(Account):
__name__ = "BayfilesCom"
__version__ = "0.03"
__type__ = "account"
+
__description__ = """Bayfiles.com account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
+
def loadAccountInfo(self, user, req):
for _ in xrange(2):
response = json_loads(req.load("http://api.bayfiles.com/v1/account/info"))
diff --git a/module/plugins/accounts/BitshareCom.py b/module/plugins/accounts/BitshareCom.py
index 09ff76efb..3802b2c46 100644
--- a/module/plugins/accounts/BitshareCom.py
+++ b/module/plugins/accounts/BitshareCom.py
@@ -22,10 +22,12 @@ class BitshareCom(Account):
__name__ = "BitshareCom"
__version__ = "0.12"
__type__ = "account"
+
__description__ = """Bitshare account plugin"""
__author_name__ = "Paul King"
__author_mail__ = None
+
def loadAccountInfo(self, user, req):
page = req.load("http://bitshare.com/mysettings.html")
diff --git a/module/plugins/accounts/CramitIn.py b/module/plugins/accounts/CramitIn.py
index 56cb5390b..9d352c967 100644
--- a/module/plugins/accounts/CramitIn.py
+++ b/module/plugins/accounts/CramitIn.py
@@ -7,6 +7,7 @@ class CramitIn(XFSPAccount):
__name__ = "CramitIn"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Cramit.in account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
diff --git a/module/plugins/accounts/CyberlockerCh.py b/module/plugins/accounts/CyberlockerCh.py
index 4f3189b0c..297808a6e 100644
--- a/module/plugins/accounts/CyberlockerCh.py
+++ b/module/plugins/accounts/CyberlockerCh.py
@@ -8,12 +8,14 @@ class CyberlockerCh(XFSPAccount):
__name__ = "CyberlockerCh"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Cyberlocker.ch account plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
MAIN_PAGE = "http://cyberlocker.ch/"
+
def login(self, user, data, req):
html = req.load(self.MAIN_PAGE + 'login.html', decode=True)
diff --git a/module/plugins/accounts/CzshareCom.py b/module/plugins/accounts/CzshareCom.py
index 3545baa7e..92d0e61e8 100644
--- a/module/plugins/accounts/CzshareCom.py
+++ b/module/plugins/accounts/CzshareCom.py
@@ -25,12 +25,14 @@ class CzshareCom(Account):
__name__ = "CzshareCom"
__version__ = "0.14"
__type__ = "account"
+
__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://sdilej.cz/prehled_kreditu/")
diff --git a/module/plugins/accounts/DdlstorageCom.py b/module/plugins/accounts/DdlstorageCom.py
index f3eebc59b..9d90f4dab 100644
--- a/module/plugins/accounts/DdlstorageCom.py
+++ b/module/plugins/accounts/DdlstorageCom.py
@@ -15,12 +15,14 @@ class DdlstorageCom(XFSPAccount):
__name__ = "DdlstorageCom"
__version__ = "1.00"
__type__ = "account"
+
__description__ = """DDLStorage.com account plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
MAIN_PAGE = "http://ddlstorage.com/"
+
def loadAccountInfo(self, user, req):
password = self.accounts[user]['password']
api_data = req.load('http://www.ddlstorage.com/cgi-bin/api_req.cgi',
diff --git a/module/plugins/accounts/DebridItaliaCom.py b/module/plugins/accounts/DebridItaliaCom.py
index 29aef4546..1ee0d96c2 100644
--- a/module/plugins/accounts/DebridItaliaCom.py
+++ b/module/plugins/accounts/DebridItaliaCom.py
@@ -24,12 +24,14 @@ class DebridItaliaCom(Account):
__name__ = "DebridItaliaCom"
__version__ = "0.1"
__type__ = "account"
+
__description__ = """Debriditalia.com account plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
WALID_UNTIL_PATTERN = r"Premium valid till: (?P<D>[^|]+) \|"
+
def loadAccountInfo(self, user, req):
if 'Account premium not activated' in self.html:
return {"premium": False, "validuntil": None, "trafficleft": None}
diff --git a/module/plugins/accounts/DepositfilesCom.py b/module/plugins/accounts/DepositfilesCom.py
index 2b46807e8..beeae2a5f 100644
--- a/module/plugins/accounts/DepositfilesCom.py
+++ b/module/plugins/accounts/DepositfilesCom.py
@@ -25,10 +25,12 @@ class DepositfilesCom(Account):
__name__ = "DepositfilesCom"
__version__ = "0.2"
__type__ = "account"
+
__description__ = """Depositfiles.com account plugin"""
__author_name__ = ("mkaay", "stickell")
__author_mail__ = ("mkaay@mkaay.de", "l.stickell@yahoo.it")
+
def loadAccountInfo(self, user, req):
src = req.load("http://depositfiles.com/de/gold/")
validuntil = re.search(r"Sie haben Gold Zugang bis: <b>(.*?)</b></div>", src).group(1)
diff --git a/module/plugins/accounts/EasybytezCom.py b/module/plugins/accounts/EasybytezCom.py
index 9fa12fcda..9b41c9135 100644
--- a/module/plugins/accounts/EasybytezCom.py
+++ b/module/plugins/accounts/EasybytezCom.py
@@ -27,6 +27,7 @@ class EasybytezCom(Account):
__name__ = "EasybytezCom"
__version__ = "0.04"
__type__ = "account"
+
__description__ = """EasyBytez.com account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
@@ -34,6 +35,7 @@ class EasybytezCom(Account):
VALID_UNTIL_PATTERN = r'Premium account expire:</TD><TD><b>([^<]+)</b>'
TRAFFIC_LEFT_PATTERN = r'<TR><TD>Traffic available today:</TD><TD><b>(?P<S>[^<]+)</b>'
+
def loadAccountInfo(self, user, req):
html = req.load("http://www.easybytez.com/?op=my_account", decode=True)
diff --git a/module/plugins/accounts/EgoFilesCom.py b/module/plugins/accounts/EgoFilesCom.py
index 9cb157516..cd568456f 100644
--- a/module/plugins/accounts/EgoFilesCom.py
+++ b/module/plugins/accounts/EgoFilesCom.py
@@ -11,12 +11,14 @@ class EgoFilesCom(Account):
__name__ = "EgoFilesCom"
__version__ = "0.2"
__type__ = "account"
+
__description__ = """Egofiles.com account plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
PREMIUM_ACCOUNT_PATTERN = '<br/>\s*Premium: (?P<P>[^/]*) / Traffic left: (?P<T>[\d.]*) (?P<U>\w*)\s*\\n\s*<br/>'
+
def loadAccountInfo(self, user, req):
html = req.load("http://egofiles.com")
if 'You are logged as a Free User' in html:
diff --git a/module/plugins/accounts/EuroshareEu.py b/module/plugins/accounts/EuroshareEu.py
index 779e2227c..f7ff456f9 100644
--- a/module/plugins/accounts/EuroshareEu.py
+++ b/module/plugins/accounts/EuroshareEu.py
@@ -25,10 +25,12 @@ class EuroshareEu(Account):
__name__ = "EuroshareEu"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Euroshare.eu account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
+
def loadAccountInfo(self, user, req):
self.relogin(user)
html = req.load("http://euroshare.eu/customer-zone/settings/")
diff --git a/module/plugins/accounts/FastixRu.py b/module/plugins/accounts/FastixRu.py
index 6aec55a84..9e8d1f4fe 100644
--- a/module/plugins/accounts/FastixRu.py
+++ b/module/plugins/accounts/FastixRu.py
@@ -8,10 +8,12 @@ class FastixRu(Account):
__name__ = "FastixRu"
__version__ = "0.02"
__type__ = "account"
+
__description__ = """Fastix account plugin"""
__author_name__ = "Massimo Rosamilia"
__author_mail__ = "max@spiritix.eu"
+
def loadAccountInfo(self, user, req):
data = self.getAccountData(user)
page = req.load("http://fastix.ru/api_v2/?apikey=%s&sub=getaccountdetails" % (data['api']))
diff --git a/module/plugins/accounts/FastshareCz.py b/module/plugins/accounts/FastshareCz.py
index d8bb542c0..cf7854b3c 100644
--- a/module/plugins/accounts/FastshareCz.py
+++ b/module/plugins/accounts/FastshareCz.py
@@ -24,12 +24,14 @@ class FastshareCz(Account):
__name__ = "FastshareCz"
__version__ = "0.03"
__type__ = "account"
+
__description__ = """Fastshare.cz account plugin"""
__author_name__ = ("zoidberg", "stickell")
__author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it")
CREDIT_PATTERN = r'(?:Kredit|Credit)\s*</td>\s*<td[^>]*>([\d. \w]+)&nbsp;'
+
def loadAccountInfo(self, user, req):
html = req.load("http://www.fastshare.cz/user", decode=True)
diff --git a/module/plugins/accounts/File4safeCom.py b/module/plugins/accounts/File4safeCom.py
index 6a11493d2..158d7be3b 100644
--- a/module/plugins/accounts/File4safeCom.py
+++ b/module/plugins/accounts/File4safeCom.py
@@ -7,6 +7,7 @@ class File4safeCom(XFSPAccount):
__name__ = "File4safeCom"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """File4safe.com account plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
diff --git a/module/plugins/accounts/FilecloudIo.py b/module/plugins/accounts/FilecloudIo.py
index 17eda5ae3..b8bad5c4c 100644
--- a/module/plugins/accounts/FilecloudIo.py
+++ b/module/plugins/accounts/FilecloudIo.py
@@ -23,10 +23,12 @@ class FilecloudIo(Account):
__name__ = "FilecloudIo"
__version__ = "0.02"
__type__ = "account"
+
__description__ = """FilecloudIo account plugin"""
__author_name__ = ("zoidberg", "stickell")
__author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it")
+
def loadAccountInfo(self, user, req):
# It looks like the first API request always fails, so we retry 5 times, it should work on the second try
for _ in xrange(5):
diff --git a/module/plugins/accounts/FilefactoryCom.py b/module/plugins/accounts/FilefactoryCom.py
index 40626fe1e..be96d8a52 100644
--- a/module/plugins/accounts/FilefactoryCom.py
+++ b/module/plugins/accounts/FilefactoryCom.py
@@ -26,12 +26,14 @@ class FilefactoryCom(Account):
__name__ = "FilefactoryCom"
__version__ = "0.14"
__type__ = "account"
+
__description__ = """Filefactory.com account plugin"""
__author_name__ = ("zoidberg", "stickell")
__author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it")
VALID_UNTIL_PATTERN = r'Premium valid until: <strong>(?P<d>\d{1,2})\w{1,2} (?P<m>\w{3}), (?P<y>\d{4})</strong>'
+
def loadAccountInfo(self, user, req):
html = req.load("http://www.filefactory.com/account/")
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)
diff --git a/module/plugins/accounts/FilerNet.py b/module/plugins/accounts/FilerNet.py
index 747051e94..475f01301 100644
--- a/module/plugins/accounts/FilerNet.py
+++ b/module/plugins/accounts/FilerNet.py
@@ -25,6 +25,7 @@ class FilerNet(Account):
__name__ = "FilerNet"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Filer.net account plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
@@ -34,6 +35,7 @@ class FilerNet(Account):
TRAFFIC_PATTERN = r'Traffic</th>\s*<td>([^<]+)</td>'
FREE_PATTERN = r'Account Status</th>\s*<td>\s*Free'
+
def loadAccountInfo(self, user, req):
self.html = req.load("https://filer.net/profile")
diff --git a/module/plugins/accounts/FilerioCom.py b/module/plugins/accounts/FilerioCom.py
index 5f2164cf1..7288930f4 100644
--- a/module/plugins/accounts/FilerioCom.py
+++ b/module/plugins/accounts/FilerioCom.py
@@ -7,6 +7,7 @@ class FilerioCom(XFSPAccount):
__name__ = "FilerioCom"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """FileRio.in account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
diff --git a/module/plugins/accounts/FilesMailRu.py b/module/plugins/accounts/FilesMailRu.py
index fdcd284bd..a87aac8a8 100644
--- a/module/plugins/accounts/FilesMailRu.py
+++ b/module/plugins/accounts/FilesMailRu.py
@@ -22,10 +22,12 @@ class FilesMailRu(Account):
__name__ = "FilesMailRu"
__version__ = "0.1"
__type__ = "account"
+
__description__ = """Filesmail.ru account plugin"""
__author_name__ = "RaNaN"
__author_mail__ = "RaNaN@pyload.org"
+
def loadAccountInfo(self, user, req):
return {"validuntil": None, "trafficleft": None}
diff --git a/module/plugins/accounts/FileserveCom.py b/module/plugins/accounts/FileserveCom.py
index a8b2b4529..f91f5b703 100644
--- a/module/plugins/accounts/FileserveCom.py
+++ b/module/plugins/accounts/FileserveCom.py
@@ -25,10 +25,12 @@ class FileserveCom(Account):
__name__ = "FileserveCom"
__version__ = "0.2"
__type__ = "account"
+
__description__ = """Fileserve.com account plugin"""
__author_name__ = "mkaay"
__author_mail__ = "mkaay@mkaay.de"
+
def loadAccountInfo(self, user, req):
data = self.getAccountData(user)
diff --git a/module/plugins/accounts/FourSharedCom.py b/module/plugins/accounts/FourSharedCom.py
index c901a4d5c..b8a0c33f6 100644
--- a/module/plugins/accounts/FourSharedCom.py
+++ b/module/plugins/accounts/FourSharedCom.py
@@ -23,10 +23,12 @@ class FourSharedCom(Account):
__name__ = "FourSharedCom"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """FourShared.com account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
+
def loadAccountInfo(self, user, req):
#fixme
return {"validuntil": -1, "trafficleft": -1, "premium": False}
diff --git a/module/plugins/accounts/FreakshareCom.py b/module/plugins/accounts/FreakshareCom.py
index 67a7a1444..2987b21eb 100644
--- a/module/plugins/accounts/FreakshareCom.py
+++ b/module/plugins/accounts/FreakshareCom.py
@@ -24,10 +24,12 @@ class FreakshareCom(Account):
__name__ = "FreakshareCom"
__version__ = "0.1"
__type__ = "account"
+
__description__ = """Freakshare.com account plugin"""
__author_name__ = "RaNaN"
__author_mail__ = "RaNaN@pyload.org"
+
def loadAccountInfo(self, user, req):
page = req.load("http://freakshare.com/")
diff --git a/module/plugins/accounts/FreeWayMe.py b/module/plugins/accounts/FreeWayMe.py
index 58dfb93fd..8a7d46aa1 100644
--- a/module/plugins/accounts/FreeWayMe.py
+++ b/module/plugins/accounts/FreeWayMe.py
@@ -23,10 +23,12 @@ class FreeWayMe(Account):
__name__ = "FreeWayMe"
__version__ = "0.11"
__type__ = "account"
+
__description__ = """FreeWayMe account plugin"""
__author_name__ = "Nicolas Giese"
__author_mail__ = "james@free-way.me"
+
def loadAccountInfo(self, user, req):
status = self.getAccountStatus(user, req)
if not status:
diff --git a/module/plugins/accounts/FshareVn.py b/module/plugins/accounts/FshareVn.py
index c6f30c88e..27b74c907 100644
--- a/module/plugins/accounts/FshareVn.py
+++ b/module/plugins/accounts/FshareVn.py
@@ -26,6 +26,7 @@ class FshareVn(Account):
__name__ = "FshareVn"
__version__ = "0.07"
__type__ = "account"
+
__description__ = """Fshare.vn account plugin"""
__author_name__ = ("zoidberg", "stickell")
__author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it")
@@ -35,6 +36,7 @@ class FshareVn(Account):
TRAFFIC_LEFT_PATTERN = ur'<dt>Tổng Dung Lượng Tài Khoản</dt>\s*<dd[^>]*>([0-9.]+) ([kKMG])B</dd>'
DIRECT_DOWNLOAD_PATTERN = ur'<input type="checkbox"\s*([^=>]*)[^>]*/>Kích hoạt download trực tiếp</dt>'
+
def loadAccountInfo(self, user, req):
self.html = req.load("http://www.fshare.vn/account_info.php", decode=True)
diff --git a/module/plugins/accounts/Ftp.py b/module/plugins/accounts/Ftp.py
index b454cba7a..93f161bb9 100644
--- a/module/plugins/accounts/Ftp.py
+++ b/module/plugins/accounts/Ftp.py
@@ -7,8 +7,10 @@ class Ftp(Account):
__name__ = "Ftp"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Ftp dummy account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
+
login_timeout = info_threshold = 1000000
diff --git a/module/plugins/accounts/HellshareCz.py b/module/plugins/accounts/HellshareCz.py
index 5823c09f0..bf98dcadb 100644
--- a/module/plugins/accounts/HellshareCz.py
+++ b/module/plugins/accounts/HellshareCz.py
@@ -25,12 +25,14 @@ class HellshareCz(Account):
__name__ = "HellshareCz"
__version__ = "0.14"
__type__ = "account"
+
__description__ = """Hellshare.cz account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
CREDIT_LEFT_PATTERN = r'<div class="credit-link">\s*<table>\s*<tr>\s*<th>(\d+|\d\d\.\d\d\.)</th>'
+
def loadAccountInfo(self, user, req):
self.relogin(user)
html = req.load("http://www.hellshare.com/")
diff --git a/module/plugins/accounts/HotfileCom.py b/module/plugins/accounts/HotfileCom.py
index fd675b7c6..515517be4 100644
--- a/module/plugins/accounts/HotfileCom.py
+++ b/module/plugins/accounts/HotfileCom.py
@@ -25,10 +25,12 @@ class HotfileCom(Account):
__name__ = "HotfileCom"
__version__ = "0.2"
__type__ = "account"
+
__description__ = """Hotfile.com account plugin"""
__author_name__ = ("mkaay", "JoKoT3")
__author_mail__ = ("mkaay@mkaay.de", "jokot3@gmail.com")
+
def loadAccountInfo(self, user, req):
resp = self.apiCall("getuserinfo", user=user)
if resp.startswith("."):
diff --git a/module/plugins/accounts/Http.py b/module/plugins/accounts/Http.py
index e2f236e41..b79a78c99 100644
--- a/module/plugins/accounts/Http.py
+++ b/module/plugins/accounts/Http.py
@@ -7,8 +7,10 @@ class Http(Account):
__name__ = "Http"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Http dummy account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
+
login_timeout = info_threshold = 1000000
diff --git a/module/plugins/accounts/LetitbitNet.py b/module/plugins/accounts/LetitbitNet.py
index e4601ccbb..3bd096d55 100644
--- a/module/plugins/accounts/LetitbitNet.py
+++ b/module/plugins/accounts/LetitbitNet.py
@@ -22,10 +22,12 @@ class LetitbitNet(Account):
__name__ = "LetitbitNet"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Letitbit.net account plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
+
def loadAccountInfo(self, user, req):
## DISABLED BECAUSE IT GET 'key exausted' EVEN IF VALID ##
# api_key = self.accounts[user]['password']
diff --git a/module/plugins/accounts/LinksnappyCom.py b/module/plugins/accounts/LinksnappyCom.py
index 63b9576d6..109478bde 100644
--- a/module/plugins/accounts/LinksnappyCom.py
+++ b/module/plugins/accounts/LinksnappyCom.py
@@ -10,10 +10,12 @@ class LinksnappyCom(Account):
__name__ = "LinksnappyCom"
__version__ = "0.02"
__type__ = "account"
+
__description__ = """Linksnappy.com account plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
+
def loadAccountInfo(self, user, req):
data = self.getAccountData(user)
r = req.load('http://gen.linksnappy.com/lseAPI.php',
diff --git a/module/plugins/accounts/MegaDebridEu.py b/module/plugins/accounts/MegaDebridEu.py
index e5d7deb3c..769b6161b 100644
--- a/module/plugins/accounts/MegaDebridEu.py
+++ b/module/plugins/accounts/MegaDebridEu.py
@@ -22,6 +22,7 @@ class MegaDebridEu(Account):
__name__ = "MegaDebridEu"
__version__ = "0.2"
__type__ = "account"
+
__description__ = """mega-debrid.eu account plugin"""
__author_name__ = "D.Ducatel"
__author_mail__ = "dducatel@je-geek.fr"
@@ -29,6 +30,7 @@ class MegaDebridEu(Account):
# Define the base URL of MegaDebrid api
API_URL = "https://www.mega-debrid.eu/api.php"
+
def loadAccountInfo(self, user, req):
data = self.getAccountData(user)
jsonResponse = req.load(self.API_URL,
diff --git a/module/plugins/accounts/MegasharesCom.py b/module/plugins/accounts/MegasharesCom.py
index 59aefe374..125a21699 100644
--- a/module/plugins/accounts/MegasharesCom.py
+++ b/module/plugins/accounts/MegasharesCom.py
@@ -10,12 +10,14 @@ class MegasharesCom(Account):
__name__ = "MegasharesCom"
__version__ = "0.02"
__type__ = "account"
+
__description__ = """Megashares.com account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
VALID_UNTIL_PATTERN = r'<p class="premium_info_box">Period Ends: (\w{3} \d{1,2}, \d{4})</p>'
+
def loadAccountInfo(self, user, req):
#self.relogin(user)
html = req.load("http://d01.megashares.com/myms.php", decode=True)
diff --git a/module/plugins/accounts/MovReelCom.py b/module/plugins/accounts/MovReelCom.py
index 3bcb3313d..3ded0d960 100644
--- a/module/plugins/accounts/MovReelCom.py
+++ b/module/plugins/accounts/MovReelCom.py
@@ -7,6 +7,7 @@ class MovReelCom(XFSPAccount):
__name__ = "MovReelCom"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Movreel.com account plugin"""
__author_name__ = "t4skforce"
__author_mail__ = "t4skforce1337[AT]gmail[DOT]com"
diff --git a/module/plugins/accounts/MultiDebridCom.py b/module/plugins/accounts/MultiDebridCom.py
index d38247051..da8a2046a 100644
--- a/module/plugins/accounts/MultiDebridCom.py
+++ b/module/plugins/accounts/MultiDebridCom.py
@@ -24,10 +24,12 @@ class MultiDebridCom(Account):
__name__ = "MultiDebridCom"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Multi-debrid.com account plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
+
def loadAccountInfo(self, user, req):
if 'days_left' in self.json_data:
validuntil = int(time() + self.json_data['days_left'] * 24 * 60 * 60)
diff --git a/module/plugins/accounts/MultishareCz.py b/module/plugins/accounts/MultishareCz.py
index f3caf374e..08b8e5d52 100644
--- a/module/plugins/accounts/MultishareCz.py
+++ b/module/plugins/accounts/MultishareCz.py
@@ -26,6 +26,7 @@ class MultishareCz(Account):
__name__ = "MultishareCz"
__version__ = "0.02"
__type__ = "account"
+
__description__ = """Multishare.cz account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
@@ -33,6 +34,7 @@ class MultishareCz(Account):
TRAFFIC_LEFT_PATTERN = r'<span class="profil-zvyrazneni">Kredit:</span>\s*<strong>(?P<S>[0-9,]+)&nbsp;(?P<U>\w+)</strong>'
ACCOUNT_INFO_PATTERN = r'<input type="hidden" id="(u_ID|u_hash)" name="[^"]*" value="([^"]+)">'
+
def loadAccountInfo(self, user, req):
#self.relogin(user)
html = req.load("http://www.multishare.cz/profil/", decode=True)
diff --git a/module/plugins/accounts/NetloadIn.py b/module/plugins/accounts/NetloadIn.py
index 2d88d7d3a..7c5ea69f8 100755
--- a/module/plugins/accounts/NetloadIn.py
+++ b/module/plugins/accounts/NetloadIn.py
@@ -25,10 +25,12 @@ class NetloadIn(Account):
__name__ = "NetloadIn"
__version__ = "0.22"
__type__ = "account"
+
__description__ = """Netload.in account plugin"""
__author_name__ = ("RaNaN", "CryNickSystems")
__author_mail__ = ("RaNaN@pyload.org", "webmaster@pcProfil.de")
+
def loadAccountInfo(self, user, req):
page = req.load("http://netload.in/index.php?id=2&lang=de")
left = r">(\d+) (Tag|Tage), (\d+) Stunden<"
diff --git a/module/plugins/accounts/OboomCom.py b/module/plugins/accounts/OboomCom.py
index b21e793fd..97f7e930a 100644
--- a/module/plugins/accounts/OboomCom.py
+++ b/module/plugins/accounts/OboomCom.py
@@ -11,10 +11,12 @@ class OboomCom(Account):
__name__ = "OboomCom"
__version__ = "0.1"
__type__ = "account"
+
__description__ = """Oboom.com account plugin"""
__author_name__ = "stanley"
__author_mail__ = "stanley.foerster@gmail.com"
+
def loadAccountData(self, user, req):
passwd = self.getAccountData(user)['password']
salt = passwd[::-1]
diff --git a/module/plugins/accounts/OneFichierCom.py b/module/plugins/accounts/OneFichierCom.py
index 22cbd51d3..be79423ef 100644
--- a/module/plugins/accounts/OneFichierCom.py
+++ b/module/plugins/accounts/OneFichierCom.py
@@ -11,6 +11,7 @@ class OneFichierCom(Account):
__name__ = "OneFichierCom"
__version__ = "0.1"
__type__ = "account"
+
__description__ = """1fichier.com account plugin"""
__author_name__ = "Elrick69"
__author_mail__ = "elrick69[AT]rocketmail[DOT]com"
diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py
index 7c57fc88c..129074a0f 100644
--- a/module/plugins/accounts/OverLoadMe.py
+++ b/module/plugins/accounts/OverLoadMe.py
@@ -8,10 +8,12 @@ class OverLoadMe(Account):
__name__ = "OverLoadMe"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Over-Load.me account plugin"""
__author_name__ = "marley"
__author_mail__ = "marley@over-load.me"
+
def loadAccountInfo(self, user, req):
data = self.getAccountData(user)
page = req.load("https://api.over-load.me/account.php", get={"user": user, "auth": data['password']}).strip()
diff --git a/module/plugins/accounts/Premium4Me.py b/module/plugins/accounts/Premium4Me.py
index 0da442da6..9eab6f81f 100644
--- a/module/plugins/accounts/Premium4Me.py
+++ b/module/plugins/accounts/Premium4Me.py
@@ -7,10 +7,12 @@ class Premium4Me(Account):
__name__ = "Premium4Me"
__version__ = "0.03"
__type__ = "account"
+
__description__ = """Premium.to account plugin"""
__author_name__ = ("RaNaN", "zoidberg", "stickell")
__author_mail__ = ("RaNaN@pyload.org", "zoidberg@mujmail.cz", "l.stickell@yahoo.it")
+
def loadAccountInfo(self, user, req):
traffic = req.load("http://premium.to/api/traffic.php?authcode=%s" % self.authcode)
diff --git a/module/plugins/accounts/PremiumizeMe.py b/module/plugins/accounts/PremiumizeMe.py
index 1da5d9002..83eade048 100644
--- a/module/plugins/accounts/PremiumizeMe.py
+++ b/module/plugins/accounts/PremiumizeMe.py
@@ -9,10 +9,12 @@ class PremiumizeMe(Account):
__name__ = "PremiumizeMe"
__version__ = "0.11"
__type__ = "account"
+
__description__ = """Premiumize.me account plugin"""
__author_name__ = "Florian Franzen"
__author_mail__ = "FlorianFranzen@gmail.com"
+
def loadAccountInfo(self, user, req):
# Get user data from premiumize.me
status = self.getAccountStatus(user, req)
diff --git a/module/plugins/accounts/QuickshareCz.py b/module/plugins/accounts/QuickshareCz.py
index 7eb82f439..8e5a18689 100644
--- a/module/plugins/accounts/QuickshareCz.py
+++ b/module/plugins/accounts/QuickshareCz.py
@@ -24,10 +24,12 @@ class QuickshareCz(Account):
__name__ = "QuickshareCz"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Quickshare.cz account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
+
def loadAccountInfo(self, user, req):
html = req.load("http://www.quickshare.cz/premium", decode=True)
diff --git a/module/plugins/accounts/RPNetBiz.py b/module/plugins/accounts/RPNetBiz.py
index 49a294d14..08bedda7d 100644
--- a/module/plugins/accounts/RPNetBiz.py
+++ b/module/plugins/accounts/RPNetBiz.py
@@ -8,10 +8,12 @@ class RPNetBiz(Account):
__name__ = "RPNetBiz"
__version__ = "0.1"
__type__ = "account"
+
__description__ = """RPNet.biz account plugin"""
__author_name__ = "Dman"
__author_mail__ = "dmanugm@gmail.com"
+
def loadAccountInfo(self, user, req):
# Get account information from rpnet.biz
response = self.getAccountStatus(user, req)
diff --git a/module/plugins/accounts/RapidgatorNet.py b/module/plugins/accounts/RapidgatorNet.py
index c61169be3..05d31e6a0 100644
--- a/module/plugins/accounts/RapidgatorNet.py
+++ b/module/plugins/accounts/RapidgatorNet.py
@@ -23,12 +23,14 @@ class RapidgatorNet(Account):
__name__ = "RapidgatorNet"
__version__ = "0.04"
__type__ = "account"
+
__description__ = """Rapidgator.net account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
API_URL = 'http://rapidgator.net/api/user'
+
def loadAccountInfo(self, user, req):
try:
sid = self.getAccountData(user).get('SID')
diff --git a/module/plugins/accounts/RapidshareCom.py b/module/plugins/accounts/RapidshareCom.py
index d537a2f23..6745813d9 100644
--- a/module/plugins/accounts/RapidshareCom.py
+++ b/module/plugins/accounts/RapidshareCom.py
@@ -22,10 +22,12 @@ class RapidshareCom(Account):
__name__ = "RapidshareCom"
__version__ = "0.22"
__type__ = "account"
+
__description__ = """Rapidshare.com account plugin"""
__author_name__ = "mkaay"
__author_mail__ = "mkaay@mkaay.de"
+
def loadAccountInfo(self, user, req):
data = self.getAccountData(user)
api_url_base = "http://api.rapidshare.com/cgi-bin/rsapi.cgi"
diff --git a/module/plugins/accounts/RarefileNet.py b/module/plugins/accounts/RarefileNet.py
index 494941aef..2424eaff5 100644
--- a/module/plugins/accounts/RarefileNet.py
+++ b/module/plugins/accounts/RarefileNet.py
@@ -7,6 +7,7 @@ class RarefileNet(XFSPAccount):
__name__ = "RarefileNet"
__version__ = "0.02"
__type__ = "account"
+
__description__ = """RareFile.net account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
diff --git a/module/plugins/accounts/RealdebridCom.py b/module/plugins/accounts/RealdebridCom.py
index 75666f2fd..8ca4112e9 100644
--- a/module/plugins/accounts/RealdebridCom.py
+++ b/module/plugins/accounts/RealdebridCom.py
@@ -9,10 +9,12 @@ class RealdebridCom(Account):
__name__ = "RealdebridCom"
__version__ = "0.43"
__type__ = "account"
+
__description__ = """Real-Debrid.com account plugin"""
__author_name__ = "Devirex Hazzard"
__author_mail__ = "naibaf_11@yahoo.de"
+
def loadAccountInfo(self, user, req):
if self.pin_code:
return {"premium": False}
diff --git a/module/plugins/accounts/RehostTo.py b/module/plugins/accounts/RehostTo.py
index 5578cab7b..7a6263ab3 100644
--- a/module/plugins/accounts/RehostTo.py
+++ b/module/plugins/accounts/RehostTo.py
@@ -7,10 +7,12 @@ class RehostTo(Account):
__name__ = "RehostTo"
__version__ = "0.1"
__type__ = "account"
+
__description__ = """Rehost.to account plugin"""
__author_name__ = "RaNaN"
__author_mail__ = "RaNaN@pyload.org"
+
def loadAccountInfo(self, user, req):
data = self.getAccountData(user)
page = req.load("http://rehost.to/api.php?cmd=login&user=%s&pass=%s" % (user, data['password']))
diff --git a/module/plugins/accounts/RyushareCom.py b/module/plugins/accounts/RyushareCom.py
index a57e5fcec..fc092f82a 100644
--- a/module/plugins/accounts/RyushareCom.py
+++ b/module/plugins/accounts/RyushareCom.py
@@ -7,12 +7,14 @@ class RyushareCom(XFSPAccount):
__name__ = "RyushareCom"
__version__ = "0.03"
__type__ = "account"
+
__description__ = """Ryushare.com account plugin"""
__author_name__ = ("zoidberg", "trance4us")
__author_mail__ = ("zoidberg@mujmail.cz", "")
MAIN_PAGE = "http://ryushare.com/"
+
def login(self, user, data, req):
req.lastURL = "http://ryushare.com/login.python"
html = req.load("http://ryushare.com/login.python",
diff --git a/module/plugins/accounts/ShareRapidCom.py b/module/plugins/accounts/ShareRapidCom.py
index 11cef84e3..8f6e3cfc4 100644
--- a/module/plugins/accounts/ShareRapidCom.py
+++ b/module/plugins/accounts/ShareRapidCom.py
@@ -9,10 +9,12 @@ class ShareRapidCom(Account):
__name__ = "ShareRapidCom"
__version__ = "0.33"
__type__ = "account"
+
__description__ = """ShareRapid account plugin"""
__author_name__ = ("MikyWoW", "zoidberg")
__author_mail__ = ("mikywow@seznam.cz", "zoidberg@mujmail.cz")
+
login_timeout = 60
def loadAccountInfo(self, user, req):
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py
index f8c9f4fe0..9f706d186 100644
--- a/module/plugins/accounts/ShareonlineBiz.py
+++ b/module/plugins/accounts/ShareonlineBiz.py
@@ -22,10 +22,12 @@ class ShareonlineBiz(Account):
__name__ = "ShareonlineBiz"
__version__ = "0.24"
__type__ = "account"
+
__description__ = """Share-online.biz account plugin"""
__author_name__ = ("mkaay", "zoidberg")
__author_mail__ = ("mkaay@mkaay.de", "zoidberg@mujmail.cz")
+
def getUserAPI(self, user, req):
return req.load("http://api.share-online.biz/account.php",
{"username": user, "password": self.accounts[user]['password'], "act": "userDetails"})
diff --git a/module/plugins/accounts/SimplyPremiumCom.py b/module/plugins/accounts/SimplyPremiumCom.py
index 5706bb5cd..37aff09b3 100644
--- a/module/plugins/accounts/SimplyPremiumCom.py
+++ b/module/plugins/accounts/SimplyPremiumCom.py
@@ -22,10 +22,12 @@ class SimplyPremiumCom(Account):
__name__ = "SimplyPremiumCom"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """Simply-Premium.com account plugin"""
__author_name__ = "EvolutionClip"
__author_mail__ = "evolutionclip@live.de"
+
def loadAccountInfo(self, user, req):
json_data = req.load('http://www.simply-premium.com/api/user.php?format=json')
self.logDebug("JSON data: " + json_data)
diff --git a/module/plugins/accounts/SimplydebridCom.py b/module/plugins/accounts/SimplydebridCom.py
index edd52b67e..a3803b088 100644
--- a/module/plugins/accounts/SimplydebridCom.py
+++ b/module/plugins/accounts/SimplydebridCom.py
@@ -9,10 +9,12 @@ class SimplydebridCom(Account):
__name__ = "SimplydebridCom"
__version__ = "0.1"
__type__ = "account"
+
__description__ = """Simply-Debrid.com account plugin"""
__author_name__ = "Kagenoshin"
__author_mail__ = "kagenoshin@gmx.ch"
+
def loadAccountInfo(self, user, req):
get_data = {'login': 2, 'u': self.loginname, 'p': self.password}
response = req.load("http://simply-debrid.com/api.php", get=get_data, decode=True)
diff --git a/module/plugins/accounts/StahnuTo.py b/module/plugins/accounts/StahnuTo.py
index c72745833..a177ae8e8 100644
--- a/module/plugins/accounts/StahnuTo.py
+++ b/module/plugins/accounts/StahnuTo.py
@@ -25,6 +25,7 @@ class StahnuTo(Account):
__name__ = "StahnuTo"
__version__ = "0.02"
__type__ = "account"
+
__description__ = """StahnuTo account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
diff --git a/module/plugins/accounts/TurbobitNet.py b/module/plugins/accounts/TurbobitNet.py
index 956978cf3..5da480180 100644
--- a/module/plugins/accounts/TurbobitNet.py
+++ b/module/plugins/accounts/TurbobitNet.py
@@ -25,6 +25,7 @@ class TurbobitNet(Account):
__name__ = "TurbobitNet"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """TurbobitNet account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
diff --git a/module/plugins/accounts/UlozTo.py b/module/plugins/accounts/UlozTo.py
index 6b1067f28..8476167b3 100644
--- a/module/plugins/accounts/UlozTo.py
+++ b/module/plugins/accounts/UlozTo.py
@@ -9,12 +9,14 @@ class UlozTo(Account):
__name__ = "UlozTo"
__version__ = "0.06"
__type__ = "account"
+
__description__ = """Uloz.to account plugin"""
__author_name__ = ("zoidberg", "pulpe")
__author_mail__ = "zoidberg@mujmail.cz"
TRAFFIC_LEFT_PATTERN = r'<li class="menu-kredit"><a href="/kredit" title="[^"]*?GB = ([0-9.]+) MB"'
+
def loadAccountInfo(self, user, req):
#this cookie gets lost somehow after each request
self.phpsessid = req.cj.getCookie("ULOSESSID")
diff --git a/module/plugins/accounts/UnrestrictLi.py b/module/plugins/accounts/UnrestrictLi.py
index afc2f2a18..ac2d2d82a 100644
--- a/module/plugins/accounts/UnrestrictLi.py
+++ b/module/plugins/accounts/UnrestrictLi.py
@@ -22,10 +22,12 @@ class UnrestrictLi(Account):
__name__ = "UnrestrictLi"
__version__ = "0.03"
__type__ = "account"
+
__description__ = """Unrestrict.li account plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
+
def loadAccountInfo(self, user, req):
json_data = req.load('http://unrestrict.li/api/jdownloader/user.php?format=json')
self.logDebug("JSON data: " + json_data)
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py
index 382b01052..bde76be9f 100644
--- a/module/plugins/accounts/UploadedTo.py
+++ b/module/plugins/accounts/UploadedTo.py
@@ -25,10 +25,12 @@ class UploadedTo(Account):
__name__ = "UploadedTo"
__version__ = "0.26"
__type__ = "account"
+
__description__ = """Uploaded.to account plugin"""
__author_name__ = "mkaay"
__author_mail__ = "mkaay@mkaay.de"
+
def loadAccountInfo(self, user, req):
req.load("http://uploaded.net/language/en")
diff --git a/module/plugins/accounts/UploadheroCom.py b/module/plugins/accounts/UploadheroCom.py
index 0cec8ca6d..681ef6f6a 100644
--- a/module/plugins/accounts/UploadheroCom.py
+++ b/module/plugins/accounts/UploadheroCom.py
@@ -11,10 +11,12 @@ class UploadheroCom(Account):
__name__ = "UploadheroCom"
__version__ = "0.2"
__type__ = "account"
+
__description__ = """Uploadhero.co account plugin"""
__author_name__ = "mcmyst"
__author_mail__ = "mcmyst@hotmail.fr"
+
def loadAccountInfo(self, user, req):
premium_pattern = re.compile('Il vous reste <span class="bleu">([0-9]+)</span> jours premium.')
diff --git a/module/plugins/accounts/UploadingCom.py b/module/plugins/accounts/UploadingCom.py
index c9f5a9ede..f07c2941a 100644
--- a/module/plugins/accounts/UploadingCom.py
+++ b/module/plugins/accounts/UploadingCom.py
@@ -25,10 +25,12 @@ class UploadingCom(Account):
__name__ = "UploadingCom"
__version__ = "0.1"
__type__ = "account"
+
__description__ = """Uploading.com account plugin"""
__author_name__ = "mkaay"
__author_mail__ = "mkaay@mkaay.de"
+
def loadAccountInfo(self, user, req):
src = req.load("http://uploading.com/")
premium = True
diff --git a/module/plugins/accounts/UptoboxCom.py b/module/plugins/accounts/UptoboxCom.py
index 3757ae0aa..16016f41d 100644
--- a/module/plugins/accounts/UptoboxCom.py
+++ b/module/plugins/accounts/UptoboxCom.py
@@ -7,6 +7,7 @@ class UptoboxCom(XFSPAccount):
__name__ = "UptoboxCom"
__version__ = "0.02"
__type__ = "account"
+
__description__ = """DDLStorage.com account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
diff --git a/module/plugins/accounts/YibaishiwuCom.py b/module/plugins/accounts/YibaishiwuCom.py
index 6b7dfe5f2..4a0c72c34 100644
--- a/module/plugins/accounts/YibaishiwuCom.py
+++ b/module/plugins/accounts/YibaishiwuCom.py
@@ -24,12 +24,14 @@ class YibaishiwuCom(Account):
__name__ = "YibaishiwuCom"
__version__ = "0.01"
__type__ = "account"
+
__description__ = """115.com account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
ACCOUNT_INFO_PATTERN = r'var USER_PERMISSION = {(.*?)}'
+
def loadAccountInfo(self, user, req):
#self.relogin(user)
html = req.load("http://115.com/", decode=True)
diff --git a/module/plugins/accounts/ZeveraCom.py b/module/plugins/accounts/ZeveraCom.py
index 74383ec22..11a224039 100644
--- a/module/plugins/accounts/ZeveraCom.py
+++ b/module/plugins/accounts/ZeveraCom.py
@@ -9,10 +9,12 @@ class ZeveraCom(Account):
__name__ = "ZeveraCom"
__version__ = "0.21"
__type__ = "account"
+
__description__ = """Zevera.com account plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
+
def loadAccountInfo(self, user, req):
data = self.getAPIData(req)
if data == "No traffic":