summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RehostTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/RehostTo.py')
-rw-r--r--module/plugins/hoster/RehostTo.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/module/plugins/hoster/RehostTo.py b/module/plugins/hoster/RehostTo.py
index dbd943d37..da0baf913 100644
--- a/module/plugins/hoster/RehostTo.py
+++ b/module/plugins/hoster/RehostTo.py
@@ -2,13 +2,13 @@
from urllib import quote, unquote
-from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
+from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
-class RehostTo(SimpleHoster):
+class RehostTo(MultiHoster):
__name__ = "RehostTo"
__type__ = "hoster"
- __version__ = "0.14"
+ __version__ = "0.15"
__pattern__ = r'https?://.*rehost\.to\..*'
@@ -17,9 +17,6 @@ class RehostTo(SimpleHoster):
__authors__ = [("RaNaN", "RaNaN@pyload.org")]
- MULTI_HOSTER = True
-
-
def getFilename(self, url):
return unquote(url.rsplit("/", 1)[1])