summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/DeadHoster.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-01-25 17:03:17 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-01-25 17:03:17 +0100
commit9ceab3d8f9fac0c37cb7b5f7c29a690cdf1abf54 (patch)
treed4309db3e34500130e6d398ae1be117b97e02c43 /module/plugins/internal/DeadHoster.py
parentmore hoster disabled (diff)
downloadpyload-9ceab3d8f9fac0c37cb7b5f7c29a690cdf1abf54.tar.xz
fix some hosters, disable some more
Diffstat (limited to 'module/plugins/internal/DeadHoster.py')
-rw-r--r--module/plugins/internal/DeadHoster.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/module/plugins/internal/DeadHoster.py b/module/plugins/internal/DeadHoster.py
new file mode 100644
index 000000000..2de1634b9
--- /dev/null
+++ b/module/plugins/internal/DeadHoster.py
@@ -0,0 +1,19 @@
+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
+ return getInfo
+
+class Hoster(_Hoster):
+ __name__ = "DeadHoster"
+ __type__ = "hoster"
+ __pattern__ = r""
+ __version__ = "0.1"
+ __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