summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RapideoPlHook.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/RapideoPlHook.py
parent[Plugin] Fix decoding in load method (diff)
downloadpyload-b1759bc440cd6013837697eb8de540914f693ffd.tar.xz
No camelCase style anymore
Diffstat (limited to 'module/plugins/hooks/RapideoPlHook.py')
-rw-r--r--module/plugins/hooks/RapideoPlHook.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/RapideoPlHook.py b/module/plugins/hooks/RapideoPlHook.py
index 861f9e10d..adbe55f12 100644
--- a/module/plugins/hooks/RapideoPlHook.py
+++ b/module/plugins/hooks/RapideoPlHook.py
@@ -7,7 +7,7 @@ from module.plugins.internal.MultiHook import MultiHook
class RapideoPlHook(MultiHook):
__name__ = "RapideoPlHook"
__type__ = "hook"
- __version__ = "0.03"
+ __version__ = "0.04"
__config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"),
("pluginlist" , "str" , "Plugin list (comma separated)", "" ),
@@ -19,10 +19,10 @@ class RapideoPlHook(MultiHook):
__authors__ = [("goddie", "dev@rapideo.pl")]
- def getHosters(self):
+ def get_hosters(self):
hostings = json_loads(self.load("https://www.rapideo.pl/clipboard.php?json=3").strip())
hostings_domains = [domain for row in hostings for domain in row['domains'] if row['sdownload'] == "0"]
- self.logDebug(hostings_domains)
+ self.log_debug(hostings_domains)
return hostings_domains