diff options
Diffstat (limited to 'module/plugins/addons/RehostTo.py')
-rw-r--r-- | module/plugins/addons/RehostTo.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/module/plugins/addons/RehostTo.py b/module/plugins/addons/RehostTo.py index b16987f5c..7ca5e5cde 100644 --- a/module/plugins/addons/RehostTo.py +++ b/module/plugins/addons/RehostTo.py @@ -5,17 +5,19 @@ 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") __author_mail__ = ("RaNaN@pyload.org") - replacements = [("freakshare.net", "freakshare.com")] - def getHoster(self): page = getURL("http://rehost.to/api.php?cmd=get_supported_och_dl&long_ses=%s" % self.long_ses) @@ -36,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 |