summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-23 13:13:42 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-23 13:13:42 +0100
commit57a319563651a07bf8265ab52da0d7375191319c (patch)
tree1a65efc0eefc444ba102eeab2cd04112349368d5 /module/plugins/hooks
parent[ExpertDecoders] Fix typo (thx DKeppi) (diff)
downloadpyload-57a319563651a07bf8265ab52da0d7375191319c.tar.xz
Rename MultiHoster plugin to MultiHook
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/AlldebridCom.py6
-rw-r--r--module/plugins/hooks/DebridItaliaCom.py6
-rw-r--r--module/plugins/hooks/EasybytezCom.py6
-rw-r--r--module/plugins/hooks/FastixRu.py6
-rw-r--r--module/plugins/hooks/FreeWayMe.py6
-rw-r--r--module/plugins/hooks/LinksnappyCom.py6
-rw-r--r--module/plugins/hooks/MegaDebridEu.py6
-rw-r--r--module/plugins/hooks/MultishareCz.py6
-rw-r--r--module/plugins/hooks/MyfastfileCom.py6
-rw-r--r--module/plugins/hooks/OverLoadMe.py6
-rw-r--r--module/plugins/hooks/PremiumTo.py8
-rw-r--r--module/plugins/hooks/PremiumizeMe.py8
-rw-r--r--module/plugins/hooks/RPNetBiz.py8
-rw-r--r--module/plugins/hooks/RealdebridCom.py6
-rw-r--r--module/plugins/hooks/RehostTo.py8
-rw-r--r--module/plugins/hooks/SimplyPremiumCom.py6
-rw-r--r--module/plugins/hooks/SimplydebridCom.py6
-rw-r--r--module/plugins/hooks/UnrestrictLi.py6
-rw-r--r--module/plugins/hooks/XFileSharingPro.py12
-rw-r--r--module/plugins/hooks/ZeveraCom.py4
20 files changed, 66 insertions, 66 deletions
diff --git a/module/plugins/hooks/AlldebridCom.py b/module/plugins/hooks/AlldebridCom.py
index 2d3c8aad7..d5986053f 100644
--- a/module/plugins/hooks/AlldebridCom.py
+++ b/module/plugins/hooks/AlldebridCom.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class AlldebridCom(MultiHoster):
+class AlldebridCom(MultiHook):
__name__ = "AlldebridCom"
__type__ = "hook"
- __version__ = "0.13"
+ __version__ = "0.14"
__config__ = [("https", "bool", "Enable HTTPS", False),
("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
diff --git a/module/plugins/hooks/DebridItaliaCom.py b/module/plugins/hooks/DebridItaliaCom.py
index 43e910a4b..e31bc98d7 100644
--- a/module/plugins/hooks/DebridItaliaCom.py
+++ b/module/plugins/hooks/DebridItaliaCom.py
@@ -3,13 +3,13 @@
import re
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class DebridItaliaCom(MultiHoster):
+class DebridItaliaCom(MultiHook):
__name__ = "DebridItaliaCom"
__type__ = "hook"
- __version__ = "0.09"
+ __version__ = "0.10"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
("hosterList", "str", "Hoster list (comma separated)", ""),
diff --git a/module/plugins/hooks/EasybytezCom.py b/module/plugins/hooks/EasybytezCom.py
index 3faa4fa1a..0dab2a7fe 100644
--- a/module/plugins/hooks/EasybytezCom.py
+++ b/module/plugins/hooks/EasybytezCom.py
@@ -2,13 +2,13 @@
import re
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class EasybytezCom(MultiHoster):
+class EasybytezCom(MultiHook):
__name__ = "EasybytezCom"
__type__ = "hook"
- __version__ = "0.03"
+ __version__ = "0.04"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
("hosterList", "str", "Hoster list (comma separated)", "")]
diff --git a/module/plugins/hooks/FastixRu.py b/module/plugins/hooks/FastixRu.py
index cec6c6f1f..73297eb23 100644
--- a/module/plugins/hooks/FastixRu.py
+++ b/module/plugins/hooks/FastixRu.py
@@ -2,13 +2,13 @@
from module.common.json_layer import json_loads
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class FastixRu(MultiHoster):
+class FastixRu(MultiHook):
__name__ = "FastixRu"
__type__ = "hook"
- __version__ = "0.02"
+ __version__ = "0.03"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
("unloadFailing", "bool", "Revert to standard download if download fails", False),
diff --git a/module/plugins/hooks/FreeWayMe.py b/module/plugins/hooks/FreeWayMe.py
index 5abec29ba..0b71fc35b 100644
--- a/module/plugins/hooks/FreeWayMe.py
+++ b/module/plugins/hooks/FreeWayMe.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class FreeWayMe(MultiHoster):
+class FreeWayMe(MultiHook):
__name__ = "FreeWayMe"
__type__ = "hook"
- __version__ = "0.11"
+ __version__ = "0.12"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"),
("hosterList", "str", "Hoster list (comma separated)", ""),
diff --git a/module/plugins/hooks/LinksnappyCom.py b/module/plugins/hooks/LinksnappyCom.py
index 82edc30fd..96bf1c0d1 100644
--- a/module/plugins/hooks/LinksnappyCom.py
+++ b/module/plugins/hooks/LinksnappyCom.py
@@ -2,13 +2,13 @@
from module.common.json_layer import json_loads
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class LinksnappyCom(MultiHoster):
+class LinksnappyCom(MultiHook):
__name__ = "LinksnappyCom"
__type__ = "hook"
- __version__ = "0.01"
+ __version__ = "0.02"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
("hosterList", "str", "Hoster list (comma separated)", ""),
diff --git a/module/plugins/hooks/MegaDebridEu.py b/module/plugins/hooks/MegaDebridEu.py
index 4f627b7e9..f3a0c31ea 100644
--- a/module/plugins/hooks/MegaDebridEu.py
+++ b/module/plugins/hooks/MegaDebridEu.py
@@ -2,13 +2,13 @@
from module.common.json_layer import json_loads
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class MegaDebridEu(MultiHoster):
+class MegaDebridEu(MultiHook):
__name__ = "MegaDebridEu"
__type__ = "hook"
- __version__ = "0.02"
+ __version__ = "0.03"
__config__ = [("unloadFailing", "bool", "Revert to standard download if download fails", False)]
diff --git a/module/plugins/hooks/MultishareCz.py b/module/plugins/hooks/MultishareCz.py
index 0e651393d..5ec5b63b6 100644
--- a/module/plugins/hooks/MultishareCz.py
+++ b/module/plugins/hooks/MultishareCz.py
@@ -3,13 +3,13 @@
import re
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class MultishareCz(MultiHoster):
+class MultishareCz(MultiHook):
__name__ = "MultishareCz"
__type__ = "hook"
- __version__ = "0.04"
+ __version__ = "0.05"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
("hosterList", "str", "Hoster list (comma separated)", "uloz.to")]
diff --git a/module/plugins/hooks/MyfastfileCom.py b/module/plugins/hooks/MyfastfileCom.py
index 0cf2c6c22..ec7c4e55b 100644
--- a/module/plugins/hooks/MyfastfileCom.py
+++ b/module/plugins/hooks/MyfastfileCom.py
@@ -2,13 +2,13 @@
from module.common.json_layer import json_loads
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class MyfastfileCom(MultiHoster):
+class MyfastfileCom(MultiHook):
__name__ = "MyfastfileCom"
__type__ = "hook"
- __version__ = "0.02"
+ __version__ = "0.03"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
("hosterList", "str", "Hoster list (comma separated)", ""),
diff --git a/module/plugins/hooks/OverLoadMe.py b/module/plugins/hooks/OverLoadMe.py
index baa9b0e0a..378ce0a65 100644
--- a/module/plugins/hooks/OverLoadMe.py
+++ b/module/plugins/hooks/OverLoadMe.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class OverLoadMe(MultiHoster):
+class OverLoadMe(MultiHook):
__name__ = "OverLoadMe"
__type__ = "hook"
- __version__ = "0.01"
+ __version__ = "0.02"
__config__ = [("https", "bool", "Enable HTTPS", True),
("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"),
diff --git a/module/plugins/hooks/PremiumTo.py b/module/plugins/hooks/PremiumTo.py
index 7be46945f..3087db552 100644
--- a/module/plugins/hooks/PremiumTo.py
+++ b/module/plugins/hooks/PremiumTo.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class PremiumTo(MultiHoster):
+class PremiumTo(MultiHook):
__name__ = "PremiumTo"
__type__ = "hook"
- __version__ = "0.04"
+ __version__ = "0.05"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for downloads from supported hosters:", "all"),
("hosterList", "str", "Hoster list (comma separated)", "")]
@@ -34,4 +34,4 @@ class PremiumTo(MultiHoster):
self.logError(_("Please add your premium.to account first and restart pyLoad"))
return
- return MultiHoster.coreReady(self)
+ return MultiHook.coreReady(self)
diff --git a/module/plugins/hooks/PremiumizeMe.py b/module/plugins/hooks/PremiumizeMe.py
index c18e8cf8e..4ebf96451 100644
--- a/module/plugins/hooks/PremiumizeMe.py
+++ b/module/plugins/hooks/PremiumizeMe.py
@@ -2,13 +2,13 @@
from module.common.json_layer import json_loads
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class PremiumizeMe(MultiHoster):
+class PremiumizeMe(MultiHook):
__name__ = "PremiumizeMe"
__type__ = "hook"
- __version__ = "0.12"
+ __version__ = "0.13"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"),
("hosterList", "str", "Hoster list (comma separated)", ""),
@@ -51,4 +51,4 @@ class PremiumizeMe(MultiHoster):
return
# Run the overwriten core ready which actually enables the multihoster hook
- return MultiHoster.coreReady(self)
+ return MultiHook.coreReady(self)
diff --git a/module/plugins/hooks/RPNetBiz.py b/module/plugins/hooks/RPNetBiz.py
index 917cd02de..c54f7d445 100644
--- a/module/plugins/hooks/RPNetBiz.py
+++ b/module/plugins/hooks/RPNetBiz.py
@@ -2,13 +2,13 @@
from module.common.json_layer import json_loads
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class RPNetBiz(MultiHoster):
+class RPNetBiz(MultiHook):
__name__ = "RPNetBiz"
__type__ = "hook"
- __version__ = "0.10"
+ __version__ = "0.11"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"),
("hosterList", "str", "Hoster list (comma separated)", ""),
@@ -49,4 +49,4 @@ class RPNetBiz(MultiHoster):
return
# Run the overwriten core ready which actually enables the multihoster hook
- return MultiHoster.coreReady(self)
+ return MultiHook.coreReady(self)
diff --git a/module/plugins/hooks/RealdebridCom.py b/module/plugins/hooks/RealdebridCom.py
index 50cc81f0c..066aa52c4 100644
--- a/module/plugins/hooks/RealdebridCom.py
+++ b/module/plugins/hooks/RealdebridCom.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class RealdebridCom(MultiHoster):
+class RealdebridCom(MultiHook):
__name__ = "RealdebridCom"
__type__ = "hook"
- __version__ = "0.43"
+ __version__ = "0.44"
__config__ = [("https", "bool", "Enable HTTPS", False),
("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"),
diff --git a/module/plugins/hooks/RehostTo.py b/module/plugins/hooks/RehostTo.py
index 1bf7d2555..48afa2342 100644
--- a/module/plugins/hooks/RehostTo.py
+++ b/module/plugins/hooks/RehostTo.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class RehostTo(MultiHoster):
+class RehostTo(MultiHook):
__name__ = "RehostTo"
__type__ = "hook"
- __version__ = "0.43"
+ __version__ = "0.44"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
("hosterList", "str", "Hoster list (comma separated)", ""),
@@ -38,4 +38,4 @@ class RehostTo(MultiHoster):
self.ses = data['ses']
self.long_ses = data['long_ses']
- return MultiHoster.coreReady(self)
+ return MultiHook.coreReady(self)
diff --git a/module/plugins/hooks/SimplyPremiumCom.py b/module/plugins/hooks/SimplyPremiumCom.py
index cc7e9183c..10a1655c2 100644
--- a/module/plugins/hooks/SimplyPremiumCom.py
+++ b/module/plugins/hooks/SimplyPremiumCom.py
@@ -2,13 +2,13 @@
from module.common.json_layer import json_loads
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class SimplyPremiumCom(MultiHoster):
+class SimplyPremiumCom(MultiHook):
__name__ = "SimplyPremiumCom"
__type__ = "hook"
- __version__ = "0.02"
+ __version__ = "0.03"
__config__ = [("activated", "bool", "Activated", "False"),
("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
diff --git a/module/plugins/hooks/SimplydebridCom.py b/module/plugins/hooks/SimplydebridCom.py
index 173206e75..48568f870 100644
--- a/module/plugins/hooks/SimplydebridCom.py
+++ b/module/plugins/hooks/SimplydebridCom.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class SimplydebridCom(MultiHoster):
+class SimplydebridCom(MultiHook):
__name__ = "SimplydebridCom"
__type__ = "hook"
- __version__ = "0.01"
+ __version__ = "0.02"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
("hosterList", "str", "Hoster list (comma separated)", "")]
diff --git a/module/plugins/hooks/UnrestrictLi.py b/module/plugins/hooks/UnrestrictLi.py
index d87265ef4..245264d44 100644
--- a/module/plugins/hooks/UnrestrictLi.py
+++ b/module/plugins/hooks/UnrestrictLi.py
@@ -2,13 +2,13 @@
from module.common.json_layer import json_loads
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class UnrestrictLi(MultiHoster):
+class UnrestrictLi(MultiHook):
__name__ = "UnrestrictLi"
__type__ = "hook"
- __version__ = "0.02"
+ __version__ = "0.03"
__config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
("hosterList", "str", "Hoster list (comma separated)", ""),
diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py
index 946838e47..589143547 100644
--- a/module/plugins/hooks/XFileSharingPro.py
+++ b/module/plugins/hooks/XFileSharingPro.py
@@ -10,12 +10,12 @@ class XFileSharingPro(Hook):
__type__ = "hook"
__version__ = "0.28"
- __config__ = [("activated", "bool", "Activated", True),
- ("use_hoster_list", "bool", "Load listed hosters only", False),
- ("use_crypter_list", "bool", "Load listed crypters only", False),
- ("use_builtin_list", "bool", "Load built-in plugin list", True),
- ("hoster_list", "str", "Hoster list (comma separated)", ""),
- ("crypter_list", "str", "Crypter list (comma separated)", "")]
+ __config__ = [("activated" , "bool", "Activated" , True ),
+ ("use_hoster_list" , "bool", "Load listed hosters only" , False),
+ ("use_crypter_list", "bool", "Load listed crypters only" , False),
+ ("use_builtin_list", "bool", "Load built-in plugin list" , True ),
+ ("hoster_list" , "str" , "Hoster list (comma separated)" , "" ),
+ ("crypter_list" , "str" , "Crypter list (comma separated)", "" )]
__description__ = """Load XFileSharingPro based hosters and crypter which don't need a own plugin to run"""
__license__ = "GPLv3"
diff --git a/module/plugins/hooks/ZeveraCom.py b/module/plugins/hooks/ZeveraCom.py
index 6fafb9666..ef1c128f3 100644
--- a/module/plugins/hooks/ZeveraCom.py
+++ b/module/plugins/hooks/ZeveraCom.py
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
from module.network.RequestFactory import getURL
-from module.plugins.internal.MultiHoster import MultiHoster
+from module.plugins.internal.MultiHook import MultiHook
-class ZeveraCom(MultiHoster):
+class ZeveraCom(MultiHook):
__name__ = "ZeveraCom"
__type__ = "hook"
__version__ = "0.02"