summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/FileserveCom.py8
-rw-r--r--module/plugins/hoster/MegauploadCom.py1
2 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py
index 36d4b2f59..38d47ee3a 100644
--- a/module/plugins/hoster/FileserveCom.py
+++ b/module/plugins/hoster/FileserveCom.py
@@ -46,7 +46,11 @@ class FileserveCom(Hoster):
def setup(self):
if self.account:
- self.req.canContinue = True
+ self.premium = self.account.getAccountInfo(self.user)["premium"]
+ if not self.premium:
+ self.multiDL = False
+ self.resumeDownload = False
+ self.chunkLimit = 1
else:
self.multiDL = False
@@ -63,7 +67,7 @@ class FileserveCom(Hoster):
self.pyfile.name = re.search('<h1>(.*?)<br/></h1>', self.html).group(1)
- if self.account:
+ if self.account and self.premium:
self.handlePremium()
else:
self.handleFree()
diff --git a/module/plugins/hoster/MegauploadCom.py b/module/plugins/hoster/MegauploadCom.py
index e67237af2..20cff6e63 100644
--- a/module/plugins/hoster/MegauploadCom.py
+++ b/module/plugins/hoster/MegauploadCom.py
@@ -61,7 +61,6 @@ class MegauploadCom(Hoster):
self.premium = self.account.getAccountInfo(self.user)["premium"]
if not self.premium:
self.multiDL = False
- self.resumeDownload = False
self.chunkLimit = 1
else:
self.multiDL = False