From 56f75b634356602c5f7a93f65a1260fe2c0d66d8 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 3 Oct 2014 19:58:50 +0200 Subject: Rename hooks directory to addon --- pyload/plugins/hooks/SimplydebridCom.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 pyload/plugins/hooks/SimplydebridCom.py (limited to 'pyload/plugins/hooks/SimplydebridCom.py') diff --git a/pyload/plugins/hooks/SimplydebridCom.py b/pyload/plugins/hooks/SimplydebridCom.py deleted file mode 100644 index f7c899a48..000000000 --- a/pyload/plugins/hooks/SimplydebridCom.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- - -from pyload.network.RequestFactory import getURL -from pyload.plugins.internal.MultiHoster import MultiHoster - - -class SimplydebridCom(MultiHoster): - __name__ = "SimplydebridCom" - __type__ = "hook" - __version__ = "0.01" - - __config__ = [("activated", "bool", "Activated", False), - ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), - ("hosterList", "str", "Hoster list (comma separated)", "")] - - __description__ = """Simply-Debrid.com hook plugin""" - __author_name__ = "Kagenoshin" - __author_mail__ = "kagenoshin@gmx.ch" - - - def getHoster(self): - page = getURL("http://simply-debrid.com/api.php?list=1") - return [x.strip() for x in page.rstrip(';').replace("\"", "").split(";")] -- cgit v1.2.3