summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MediafireCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/MediafireCom.py')
-rw-r--r--module/plugins/hoster/MediafireCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/MediafireCom.py b/module/plugins/hoster/MediafireCom.py
index 782d78ce1..81bd36f73 100644
--- a/module/plugins/hoster/MediafireCom.py
+++ b/module/plugins/hoster/MediafireCom.py
@@ -54,7 +54,7 @@ def getInfo(urls):
class MediafireCom(SimpleHoster):
__name__ = "MediafireCom"
__type__ = "hoster"
- __version__ = "0.82"
+ __version__ = "0.83"
__pattern__ = r'http://(?:www\.)?mediafire\.com/(file/|(view/?|download\.php)?\?)(\w{11}|\w{15})($|/)'
@@ -88,9 +88,9 @@ class MediafireCom(SimpleHoster):
self.check_data = self.getFileInfo()
if self.account:
- self.handlePremium()
+ self.handlePremium(pyfile)
else:
- self.handleFree()
+ self.handleFree(pyfile)
elif result == 1:
self.offline()
else:
@@ -98,7 +98,7 @@ class MediafireCom(SimpleHoster):
self.download(self.link, disposition=True)
- def handleFree(self):
+ def handleFree(self, pyfile):
if self.PASSWORD_PATTERN in self.html:
password = self.getPassword()