diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-14 02:23:37 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-15 16:13:41 +0200 |
commit | 48c0c42fd6faffc56432d5f037cd575979f180cc (patch) | |
tree | b8a57137e10e201f77328dca45e2951ece123e53 /module/plugins/hooks/MegaDebridEu.py | |
parent | [l18n] Improved few source strings (diff) | |
download | pyload-48c0c42fd6faffc56432d5f037cd575979f180cc.tar.xz |
Removed all @author flags + key attributes cleanup for internal & hooks plugins
Diffstat (limited to 'module/plugins/hooks/MegaDebridEu.py')
-rw-r--r-- | module/plugins/hooks/MegaDebridEu.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/hooks/MegaDebridEu.py b/module/plugins/hooks/MegaDebridEu.py index 0c3bb99f6..31be74fdd 100644 --- a/module/plugins/hooks/MegaDebridEu.py +++ b/module/plugins/hooks/MegaDebridEu.py @@ -23,12 +23,15 @@ class MegaDebridEu(MultiHoster): __name__ = "MegaDebridEu" __version__ = "0.02" __type__ = "hook" + __config__ = [("activated", "bool", "Activated", False), ("unloadFailing", "bool", "Revert to standard download if download fails", False)] + __description__ = """mega-debrid.eu hook plugin""" __author_name__ = "D.Ducatel" __author_mail__ = "dducatel@je-geek.fr" + def getHoster(self): reponse = getURL('http://www.mega-debrid.eu/api.php?action=getHosters') json_data = json_loads(reponse) |