summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RehostTo.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-17 23:03:46 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-17 23:03:46 +0100
commit0860e09f5ff16ee3f097f6f9d444f277a38abd72 (patch)
tree29202b0fa114999e4bed45aaabf08ae0e49cc8ce /module/plugins/hoster/RehostTo.py
parent[SimpleHoster] Fix filesize recognition (diff)
downloadpyload-0860e09f5ff16ee3f097f6f9d444f277a38abd72.tar.xz
Extend SimpleHoster in multi-hoster plugins (3)
Diffstat (limited to 'module/plugins/hoster/RehostTo.py')
-rw-r--r--module/plugins/hoster/RehostTo.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/hoster/RehostTo.py b/module/plugins/hoster/RehostTo.py
index 4f978cdce..dbd943d37 100644
--- a/module/plugins/hoster/RehostTo.py
+++ b/module/plugins/hoster/RehostTo.py
@@ -17,6 +17,9 @@ class RehostTo(SimpleHoster):
__authors__ = [("RaNaN", "RaNaN@pyload.org")]
+ MULTI_HOSTER = True
+
+
def getFilename(self, url):
return unquote(url.rsplit("/", 1)[1])