diff options
Diffstat (limited to 'module')
| -rw-r--r-- | module/plugins/hoster/HotfileCom.py | 7 | ||||
| -rw-r--r-- | module/plugins/hoster/MegauploadCom.py | 1 | 
2 files changed, 7 insertions, 1 deletions
| diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py index 748571840..aef761da7 100644 --- a/module/plugins/hoster/HotfileCom.py +++ b/module/plugins/hoster/HotfileCom.py @@ -24,10 +24,15 @@ class HotfileCom(Plugin):          self.multi_dl = False          self.htmlwithlink = None          self.url = None +        self.read_config() +        if self.config['premium']: +            self.multi_dl = True +            self.req.canContinue = True +        else: +            self.multi_dl = False      def prepare(self, thread):          pyfile = self.parent -          self.want_reconnect = False          self.download_html() diff --git a/module/plugins/hoster/MegauploadCom.py b/module/plugins/hoster/MegauploadCom.py index 3eb21a591..c282aa735 100644 --- a/module/plugins/hoster/MegauploadCom.py +++ b/module/plugins/hoster/MegauploadCom.py @@ -44,6 +44,7 @@ class MegauploadCom(Plugin):              megavar = re.search('name="megavar" value="(.*)">', self.html[0]).group(1)              self.html[1] = self.req.load(url, post={"captcha": captcha, "captchacode": captchacode, "megavar": megavar}, cookies=True)              if re.search(r"Waiting time before each download begins", self.html[1]) != None: +                print "got it"                  break          self.time_plus_wait = time() + 45 | 
