summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/HighWayMe.py
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-23 23:26:27 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-23 23:26:27 +0200
commit9ce720d5d7e328cc761b4a6d7517c5d8cb862caf (patch)
tree7bffbd80c5458cc2b13dec86fee73087074ea05d /module/plugins/hooks/HighWayMe.py
parentMerge pull request #1522 from funkyslap/patch-2 (diff)
downloadpyload-9ce720d5d7e328cc761b4a6d7517c5d8cb862caf.tar.xz
HighWayMe.py -> HighWayMeHook.py
Diffstat (limited to 'module/plugins/hooks/HighWayMe.py')
-rw-r--r--module/plugins/hooks/HighWayMe.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/module/plugins/hooks/HighWayMe.py b/module/plugins/hooks/HighWayMe.py
deleted file mode 100644
index 7d5c88ecc..000000000
--- a/module/plugins/hooks/HighWayMe.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from module.common.json_layer import json_loads
-from module.plugins.internal.MultiHook import MultiHook
-
-
-class HighWayMeHook(MultiHook):
- __name__ = "HighWayMeHook"
- __type__ = "hook"
- __version__ = "0.02"
-
- __config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"),
- ("pluginlist" , "str" , "Plugin list (comma separated)" , "" ),
- ("revertfailed" , "bool" , "Revert to standard download if fails", True ),
- ("reload" , "bool" , "Reload plugin list" , True ),
- ("reloadinterval", "int" , "Reload interval in hours" , 12 )]
-
- __description__ = """High-Way.me hook plugin"""
- __license__ = "GPLv3"
- __authors__ = [("EvolutionClip", "evolutionclip@live.de")]
-
-
- def getHosters(self):
- json_data = json_loads(self.getURL("https://high-way.me/api.php",
- get={'hoster': 1}))
- return [element['name'] for element in json_data['hoster']]