summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/LinksnappyCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/LinksnappyCom.py')
-rw-r--r--module/plugins/hoster/LinksnappyCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/LinksnappyCom.py b/module/plugins/hoster/LinksnappyCom.py
index 1c3f86d4a..f92681f60 100644
--- a/module/plugins/hoster/LinksnappyCom.py
+++ b/module/plugins/hoster/LinksnappyCom.py
@@ -10,7 +10,7 @@ from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
class LinksnappyCom(MultiHoster):
__name__ = "LinksnappyCom"
__type__ = "hoster"
- __version__ = "0.11"
+ __version__ = "0.12"
__status__ = "testing"
__pattern__ = r'https?://(?:[^/]+\.)?linksnappy\.com'
@@ -26,8 +26,8 @@ class LinksnappyCom(MultiHoster):
host = self._get_host(pyfile.url)
json_params = json_dumps({'link' : pyfile.url,
'type' : host,
- 'username': self.user,
- 'password': self.account.get_info(self.user)['login']['password']})
+ 'username': self.account.user,
+ 'password': self.account.get_login('password')})
r = self.load("http://linksnappy.com/api/linkgen",
post={'genLinks': json_params})