summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/OverLoadMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-08 02:09:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-08 02:15:53 +0100
commitb25bc61dd47d8d3c42969bd0f72443b21c4b059e (patch)
tree6115841c9763289bd400c6171508f397d3526bf5 /module/plugins/hooks/OverLoadMe.py
parent[ZippyshareCom] Typo (diff)
downloadpyload-b25bc61dd47d8d3c42969bd0f72443b21c4b059e.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/OverLoadMe.py')
-rw-r--r--module/plugins/hooks/OverLoadMe.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/OverLoadMe.py b/module/plugins/hooks/OverLoadMe.py
index 1872f8ccb..b15ce2766 100644
--- a/module/plugins/hooks/OverLoadMe.py
+++ b/module/plugins/hooks/OverLoadMe.py
@@ -24,8 +24,8 @@ class OverLoadMe(MultiHook):
def getHosters(self):
https = "https" if self.getConfig("ssl") else "http"
- page = self.getURL(https + "://api.over-load.me/hoster.php",
+ html = self.getURL(https + "://api.over-load.me/hoster.php",
get={'auth': "0001-cb1f24dadb3aa487bda5afd3b76298935329be7700cd7-5329be77-00cf-1ca0135f"}).replace("\"", "").strip()
- self.logDebug("Hosterlist", page)
+ self.logDebug("Hosterlist", html)
- return [x.strip() for x in page.split(",") if x.strip()]
+ return [x.strip() for x in html.split(",") if x.strip()]