summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MediafireCom.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-06-16 01:03:58 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-06-16 01:03:58 +0200
commite69ed5c8007c6ed2e26986d7b738f77a08045ad8 (patch)
tree4e3c22939bb9300d572d96b37a4b0fc90d6ea5cf /module/plugins/hoster/MediafireCom.py
parentupdate uloz.to, cloudnator.com, checksum plugin (diff)
downloadpyload-e69ed5c8007c6ed2e26986d7b738f77a08045ad8.tar.xz
update mediafire.com, rapidgator.net -- closed #598, #617
Diffstat (limited to 'module/plugins/hoster/MediafireCom.py')
-rw-r--r--module/plugins/hoster/MediafireCom.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/module/plugins/hoster/MediafireCom.py b/module/plugins/hoster/MediafireCom.py
index 717143880..dce16118f 100644
--- a/module/plugins/hoster/MediafireCom.py
+++ b/module/plugins/hoster/MediafireCom.py
@@ -58,7 +58,7 @@ class MediafireCom(SimpleHoster):
__name__ = "MediafireCom"
__type__ = "hoster"
__pattern__ = r"http://(\w*\.)*mediafire\.com/(file/|(download.php)?\?)(\w{11}|\w{15})($|/)"
- __version__ = "0.75"
+ __version__ = "0.76"
__description__ = """Mediafire.com plugin - free only"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
@@ -75,7 +75,7 @@ class MediafireCom(SimpleHoster):
FILE_OFFLINE_PATTERN = r'class="error_msg_title"> Invalid or Deleted File. </div>'
def setup(self):
- self.multiDL = True
+ self.multiDL = False
def process(self, pyfile):
self.url, result = checkHTMLHeader(pyfile.url)
@@ -83,15 +83,18 @@ class MediafireCom(SimpleHoster):
if result == 0:
self.html = self.load(self.url, decode = True)
- self.checkCaptcha()
+ self.checkCaptcha()
+ self.multiDL = True
self.getFileInfo()
+
if self.account:
self.handlePremium()
else:
self.handleFree()
elif result == 1:
self.offline()
- else:
+ else:
+ self.multiDL = True
self.download(self.url, disposition = True)
def handleFree(self):