summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/FastixRu.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/FastixRu.py
parent[ZippyshareCom] Typo (diff)
downloadpyload-b25bc61dd47d8d3c42969bd0f72443b21c4b059e.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/FastixRu.py')
-rw-r--r--module/plugins/hooks/FastixRu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/FastixRu.py b/module/plugins/hooks/FastixRu.py
index 25126fbd3..6373da8d9 100644
--- a/module/plugins/hooks/FastixRu.py
+++ b/module/plugins/hooks/FastixRu.py
@@ -23,9 +23,9 @@ class FastixRu(MultiHook):
def getHosters(self):
- page = self.getURL("http://fastix.ru/api_v2",
+ html = self.getURL("http://fastix.ru/api_v2",
get={'apikey': "5182964c3f8f9a7f0b00000a_kelmFB4n1IrnCDYuIFn2y",
'sub' : "allowed_sources"})
- host_list = json_loads(page)
+ host_list = json_loads(html)
host_list = host_list['allow']
return host_list