summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/PremiumTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/PremiumTo.py')
-rw-r--r--module/plugins/hooks/PremiumTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/PremiumTo.py b/module/plugins/hooks/PremiumTo.py
index 844ecc89d..b629b111e 100644
--- a/module/plugins/hooks/PremiumTo.py
+++ b/module/plugins/hooks/PremiumTo.py
@@ -24,6 +24,6 @@ class PremiumTo(MultiHook):
def getHosters(self):
- page = self.getURL("http://premium.to/api/hosters.php",
+ html = self.getURL("http://premium.to/api/hosters.php",
get={'username': self.account.username, 'password': self.account.password})
- return [x.strip() for x in page.replace("\"", "").split(";")]
+ return [x.strip() for x in html.replace("\"", "").split(";")]