summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FilesonicCom.py
diff options
context:
space:
mode:
authorGravatar Paul King <devnull@localhost> 2011-05-14 11:15:32 +0200
committerGravatar Paul King <devnull@localhost> 2011-05-14 11:15:32 +0200
commit4290322f2de1dcc5a6c1cc15ffbce91a7cf734af (patch)
treeca42941e1972459fce766dc36769de239ef92619 /module/plugins/hoster/FilesonicCom.py
parentfix last commit (diff)
downloadpyload-4290322f2de1dcc5a6c1cc15ffbce91a7cf734af.tar.xz
revert premium account change see #309
Diffstat (limited to 'module/plugins/hoster/FilesonicCom.py')
-rw-r--r--module/plugins/hoster/FilesonicCom.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/hoster/FilesonicCom.py b/module/plugins/hoster/FilesonicCom.py
index 493a9c962..8862c84e0 100644
--- a/module/plugins/hoster/FilesonicCom.py
+++ b/module/plugins/hoster/FilesonicCom.py
@@ -48,7 +48,7 @@ class FilesonicCom(Hoster):
__name__ = "FilesonicCom"
__type__ = "hoster"
__pattern__ = r"http://[\w\.]*?(sharingmatrix|filesonic)\..*?/file/(([a-z][0-9]+/)?[0-9]+)(/.*)?"
- __version__ = "0.3"
+ __version__ = "0.31"
__description__ = """FilesonicCom und Sharingmatrix Download Hoster"""
__author_name__ = ("jeix","paulking")
__author_mail__ = ("jeix@hasnomail.de","")
@@ -62,7 +62,9 @@ class FilesonicCom(Hoster):
CAPTCHA_TYPE1_PATTERN = r'Recaptcha.create\("(.*?)",'
CAPTCHA_TYPE2_PATTERN = r'id="recaptcha_image"><img style="display: block;" src="(.+)image?c=(.+?)"'
- def init(self):
+ def init(self):
+ if self.account:
+ self.premium = self.account.getAccountInfo(self.user)["premium"]
if not self.premium:
self.chunkLimit = 1
self.multiDL = False