summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RehostTo.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-10-08 22:28:35 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-10-08 22:28:35 +0200
commit139722a9355947f8e0696f46e3bb97c239514a37 (patch)
treeb6288fbdb6108d6f43894673b86fef65995bb317 /module/plugins/hooks/RehostTo.py
parentfix rapidgator.net (diff)
downloadpyload-139722a9355947f8e0696f46e3bb97c239514a37.tar.xz
filebeer workaround, rehost.to chunklimit, multihoster config
Diffstat (limited to 'module/plugins/hooks/RehostTo.py')
-rw-r--r--module/plugins/hooks/RehostTo.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/module/plugins/hooks/RehostTo.py b/module/plugins/hooks/RehostTo.py
index 8903bd07f..7ca5e5cde 100644
--- a/module/plugins/hooks/RehostTo.py
+++ b/module/plugins/hooks/RehostTo.py
@@ -5,10 +5,14 @@ from module.plugins.internal.MultiHoster import MultiHoster
class RehostTo(MultiHoster):
__name__ = "RehostTo"
- __version__ = "0.41"
+ __version__ = "0.42"
__type__ = "hook"
- __config__ = [("activated", "bool", "Activated", "False")]
+ __config__ = [("activated", "bool", "Activated", "False"),
+ ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"),
+ ("hosterList", "str", "Hoster list (comma separated)", ""),
+ ("unloadFailing", "bool", "Revert to stanard download if download fails", "False"),
+ ("interval", "int", "Reload interval in hours (0 to disable)", "24")]
__description__ = """rehost.to hook plugin"""
__author_name__ = ("RaNaN")
@@ -34,4 +38,4 @@ class RehostTo(MultiHoster):
self.ses = data["ses"]
self.long_ses = data["long_ses"]
- return MultiHoster.coreReady(self)
+ return MultiHoster.coreReady(self) \ No newline at end of file