summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hook/RehostTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hook/RehostTo.py')
-rw-r--r--pyload/plugins/hook/RehostTo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/plugins/hook/RehostTo.py b/pyload/plugins/hook/RehostTo.py
index 2c8739869..6c334bf06 100644
--- a/pyload/plugins/hook/RehostTo.py
+++ b/pyload/plugins/hook/RehostTo.py
@@ -20,7 +20,8 @@ class RehostTo(MultiHoster):
def getHoster(self):
- page = getURL("http://rehost.to/api.php?cmd=get_supported_och_dl&long_ses=%s" % self.long_ses)
+ page = getURL("http://rehost.to/api.php",
+ get={'cmd': "get_supported_och_dl", 'long_ses': self.long_ses})
return [x.strip() for x in page.replace("\"", "").split(",")]