summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FreeWayMe.py
diff options
context:
space:
mode:
authorGravatar Sahil Shekhawat <sahilshekhawat01@gmail.com> 2015-01-11 14:54:48 +0100
committerGravatar Sahil Shekhawat <sahilshekhawat01@gmail.com> 2015-01-11 14:54:48 +0100
commitd2b60b5ceb369814a0de41c8b8744b5c4ed81523 (patch)
tree6619e01fc0e5f281e4d28678ec565860a86784ec /module/plugins/hoster/FreeWayMe.py
parentupdated nitroflare.com's plugin (diff)
parentCode improvements (diff)
downloadpyload-d2b60b5ceb369814a0de41c8b8744b5c4ed81523.tar.xz
Merged with the updated nitroflare
Diffstat (limited to 'module/plugins/hoster/FreeWayMe.py')
-rw-r--r--module/plugins/hoster/FreeWayMe.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/FreeWayMe.py b/module/plugins/hoster/FreeWayMe.py
index 50131e28e..ffc8115d3 100644
--- a/module/plugins/hoster/FreeWayMe.py
+++ b/module/plugins/hoster/FreeWayMe.py
@@ -6,11 +6,11 @@ from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
class FreeWayMe(MultiHoster):
__name__ = "FreeWayMe"
__type__ = "hoster"
- __version__ = "0.14"
+ __version__ = "0.15"
__pattern__ = r'https://(?:www\.)?free-way\.me/.+'
- __description__ = """FreeWayMe hoster plugin"""
+ __description__ = """FreeWayMe multi-hoster plugin"""
__license__ = "GPLv3"
__authors__ = [("Nicolas Giese", "james@free-way.me")]
@@ -21,14 +21,14 @@ class FreeWayMe(MultiHoster):
self.chunkLimit = 1
- def handlePremium(self):
+ def handlePremium(self, pyfile):
user, data = self.account.selectAccount()
self.download("https://www.free-way.me/load.php",
get={'multiget': 7,
- 'url' : self.pyfile.url,
+ 'url' : pyfile.url,
'user' : user,
- 'pw' : self.account.getpw(user),
+ 'pw' : self.account.getAccountData(user)['password'],
'json' : ""},
disposition=True)