summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FreeWayMe.py
diff options
context:
space:
mode:
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)