summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/internal/MultiHoster.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/module/plugins/internal/MultiHoster.py b/module/plugins/internal/MultiHoster.py
index 5011b88a3..eca7e9ecd 100644
--- a/module/plugins/internal/MultiHoster.py
+++ b/module/plugins/internal/MultiHoster.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo, r
class MultiHoster(SimpleHoster):
__name__ = "MultiHoster"
__type__ = "hoster"
- __version__ = "0.31"
+ __version__ = "0.32"
__pattern__ = r'^unmatchable$'
@@ -52,14 +52,9 @@ class MultiHoster(SimpleHoster):
def process(self, pyfile):
self.prepare()
- self.wait(5)
-
if self.__pattern__ != r'^unmatchable$' and re.match(self.__pattern__, pyfile.url):
self.checkInfo()
- elif not pyfile.name or pyfile.name == pyfile.url:
- self.checkNameSize()
-
if self.directDL:
self.logDebug("Looking for direct download link...")
self.handleDirect(pyfile)
@@ -81,6 +76,13 @@ class MultiHoster(SimpleHoster):
self.downloadLink(self.link)
self.checkFile()
+
+ #@TODO: Remove in 0.4.10
+ def downloadLink(self, link):
+ if link and isinstance(link, basestring):
+ self.correctCaptcha()
+ self.download(link, disposition=True)
+
def handlePremium(self, pyfile):
return self.handleFree(pyfile)