summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/DeadHoster.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/module/plugins/internal/DeadHoster.py b/module/plugins/internal/DeadHoster.py
index 2de1634b9..e180e2384 100644
--- a/module/plugins/internal/DeadHoster.py
+++ b/module/plugins/internal/DeadHoster.py
@@ -2,18 +2,17 @@ from module.plugins.Hoster import Hoster as _Hoster
def create_getInfo(plugin):
def getInfo(urls):
- for url in urls:
- yield '#N/A: ' + url, 0, 1, url
+ yield [('#N/A: ' + url, 0, 1, url) for url in urls]
return getInfo
-class Hoster(_Hoster):
+class DeadHoster(_Hoster):
__name__ = "DeadHoster"
__type__ = "hoster"
__pattern__ = r""
- __version__ = "0.1"
+ __version__ = "0.11"
__description__ = """Hoster is no longer available"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
- def init(self):
- self.fail("Hoster is no longer available") \ No newline at end of file
+ def setup(self):
+ self.fail("Hoster is no longer available") \ No newline at end of file