summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RehostTo.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-11 19:41:04 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-11 19:41:04 +0100
commit24523c4fff9d1c28d965b3510c6426fa22a4aef5 (patch)
tree869004bfc86d98343d206a3a11a3f67843c7c0a6 /module/plugins/hooks/RehostTo.py
parent[RapiduNet] Fix https://github.com/pyload/pyload/issues/1035 (diff)
parent[RehostTo] Fix version (diff)
downloadpyload-24523c4fff9d1c28d965b3510c6426fa22a4aef5.tar.xz
Merge pull request #1031 from Shuralon/stable
[RehostTo] Fixed
Diffstat (limited to 'module/plugins/hooks/RehostTo.py')
-rw-r--r--module/plugins/hooks/RehostTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/RehostTo.py b/module/plugins/hooks/RehostTo.py
index 0cb736d9c..653a0444e 100644
--- a/module/plugins/hooks/RehostTo.py
+++ b/module/plugins/hooks/RehostTo.py
@@ -6,7 +6,7 @@ from module.plugins.internal.MultiHook import MultiHook
class RehostTo(MultiHook):
__name__ = "RehostTo"
__type__ = "hook"
- __version__ = "0.49"
+ __version__ = "0.5"
__config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"),
("pluginlist" , "str" , "Plugin list (comma separated)" , "" ),
@@ -25,5 +25,5 @@ class RehostTo(MultiHook):
user, data = self.account.selectAccount()
page = self.getURL("http://rehost.to/api.php",
get={'cmd' : "get_supported_och_dl",
- 'long_ses': self.account.getAccountData(user)['session']})
+ 'long_ses': self.account.getAccountInfo(user)['session']})
return [x.strip() for x in page.replace("\"", "").split(",")]