diff options
author | stickell <l.stickell@yahoo.it> | 2014-09-11 12:16:03 +0200 |
---|---|---|
committer | stickell <l.stickell@yahoo.it> | 2014-09-11 12:16:03 +0200 |
commit | 22334b664ff2be7bbbe0627e4d65cf222bd29919 (patch) | |
tree | c53c89bce263b73358a5493b06bb78f0b1bbcad0 /module/plugins/hoster/MultiDebridCom.py | |
parent | [File4safe] distributing LINK_PATTERN (diff) | |
download | pyload-22334b664ff2be7bbbe0627e4d65cf222bd29919.tar.xz |
[MultiDebrid] renamed to Myfastline
Diffstat (limited to 'module/plugins/hoster/MultiDebridCom.py')
-rw-r--r-- | module/plugins/hoster/MultiDebridCom.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/module/plugins/hoster/MultiDebridCom.py b/module/plugins/hoster/MultiDebridCom.py index f70fa0f0e..bae864806 100644 --- a/module/plugins/hoster/MultiDebridCom.py +++ b/module/plugins/hoster/MultiDebridCom.py @@ -9,15 +9,12 @@ from module.plugins.Hoster import Hoster class MultiDebridCom(Hoster): __name__ = "MultiDebridCom" __type__ = "hoster" - __version__ = "0.03" - + __version__ = "0.04" __pattern__ = r'http://(?:www\.)?\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/dl/' - - __description__ = """Multi-debrid.com hoster plugin""" + __description__ = """Myfastfile.com hoster plugin""" __author_name__ = "stickell" __author_mail__ = "l.stickell@yahoo.it" - def setup(self): self.chunkLimit = -1 self.resumeDownload = True @@ -26,11 +23,11 @@ class MultiDebridCom(Hoster): if re.match(self.__pattern__, pyfile.url): new_url = pyfile.url elif not self.account: - self.logError(_("Please enter your %s account or deactivate this plugin") % "Multi-debrid.com") - self.fail("No Multi-debrid.com account provided") + self.logError(_("Please enter your %s account or deactivate this plugin") % "Myfastfile.com") + self.fail("No Myfastfile.com account provided") else: self.logDebug("Original URL: %s" % pyfile.url) - page = self.req.load('http://multi-debrid.com/api.php', + page = self.req.load('http://myfastfile.com/api.php', get={'user': self.user, 'pass': self.account.getAccountData(self.user)['password'], 'link': pyfile.url}) self.logDebug("JSON data: " + page) |