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