summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/MultishareCzHook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
commitb1759bc440cd6013837697eb8de540914f693ffd (patch)
treed170caf63d7f65e44d23ea2d91a65759a1665928 /module/plugins/hooks/MultishareCzHook.py
parent[Plugin] Fix decoding in load method (diff)
downloadpyload-b1759bc440cd6013837697eb8de540914f693ffd.tar.xz
No camelCase style anymore
Diffstat (limited to 'module/plugins/hooks/MultishareCzHook.py')
-rw-r--r--module/plugins/hooks/MultishareCzHook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/MultishareCzHook.py b/module/plugins/hooks/MultishareCzHook.py
index 866fea405..8ddcf74d2 100644
--- a/module/plugins/hooks/MultishareCzHook.py
+++ b/module/plugins/hooks/MultishareCzHook.py
@@ -8,7 +8,7 @@ from module.plugins.internal.MultiHook import MultiHook
class MultishareCzHook(MultiHook):
__name__ = "MultishareCzHook"
__type__ = "hook"
- __version__ = "0.07"
+ __version__ = "0.08"
__config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"),
("pluginlist" , "str" , "Plugin list (comma separated)", "" ),
@@ -23,6 +23,6 @@ class MultishareCzHook(MultiHook):
HOSTER_PATTERN = r'<img class="logo-shareserveru"[^>]*?alt="(.+?)"></td>\s*<td class="stav">[^>]*?alt="OK"'
- def getHosters(self):
+ def get_hosters(self):
html = self.load("http://www.multishare.cz/monitoring/")
return re.findall(self.HOSTER_PATTERN, html)