diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-23 13:20:53 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-23 13:20:53 +0100 |
commit | 87203e996fb42c172b15e29f0e394d5b328d9ac2 (patch) | |
tree | 686ef0dbf945a8a543af11bbbea40fdecb7bdfed /module/plugins/hoster/RehostTo.py | |
parent | Rename MultiHoster plugin to MultiHook (diff) | |
download | pyload-87203e996fb42c172b15e29f0e394d5b328d9ac2.tar.xz |
New plugin: MultiHoster
Diffstat (limited to 'module/plugins/hoster/RehostTo.py')
-rw-r--r-- | module/plugins/hoster/RehostTo.py | 9 |
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]) |