diff options
author | Stefano <l.stickell@yahoo.it> | 2013-08-13 23:11:27 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-08-13 23:11:27 +0200 |
commit | e20cde8ff0a53c0edb9db11ba2cc5d1510d086bb (patch) | |
tree | 873565556c04a273fd04ea15a0d7124fbc4a6637 /module/plugins/hooks | |
parent | Merge pull request #226 from Kagenoshin/simplydebrid (diff) | |
download | pyload-e20cde8ff0a53c0edb9db11ba2cc5d1510d086bb.tar.xz |
Moved new plugins to pyload
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/SimplydebridCom.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/module/plugins/hooks/SimplydebridCom.py b/module/plugins/hooks/SimplydebridCom.py deleted file mode 100644 index 3272df567..000000000 --- a/module/plugins/hooks/SimplydebridCom.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- - -from module.network.RequestFactory import getURL -from module.plugins.internal.MultiHoster import MultiHoster - - -class SimplydebridCom(MultiHoster): - __name__ = "SimplydebridCom" - __version__ = "0.01" - __type__ = "hook" - __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(";")] |