summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ZahikiNet.py
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-05 14:17:43 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-05 14:17:43 +0200
commit43965c049b329220dec95cfc19feffc5053a7e2b (patch)
treeb97248b9cbeb905312076d147d2e12179e3d8de6 /module/plugins/hoster/ZahikiNet.py
parentMerge pull request #1 from pyload/stable (diff)
parent[NitroflareCom] Account fixup (2) (diff)
downloadpyload-43965c049b329220dec95cfc19feffc5053a7e2b.tar.xz
Merge pull request #2 from pyload/stable
sync
Diffstat (limited to 'module/plugins/hoster/ZahikiNet.py')
-rw-r--r--module/plugins/hoster/ZahikiNet.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/module/plugins/hoster/ZahikiNet.py b/module/plugins/hoster/ZahikiNet.py
new file mode 100644
index 000000000..b2705662b
--- /dev/null
+++ b/module/plugins/hoster/ZahikiNet.py
@@ -0,0 +1,32 @@
+# -*- coding: utf-8 -*-
+
+from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
+
+
+class ZahikiNet(SimpleHoster):
+ __name__ = "ZahikiNet"
+ __type__ = "hoster"
+ __version__ = "0.01"
+
+ __pattern__ = r'https?://(?:www\.)?zahiki\.net/\w+/.+'
+
+ __description__ = """Zahiki.net hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
+
+
+ DIRECT_LINK = True
+
+ NAME_PATTERN = r'/(?P<N>.+?) </title>'
+ OFFLINE_PATTERN = r'>(Not Found|Il file selezionato non esiste)'
+
+ LINK_FREE_PATTERN = r'file: "(.+?)"'
+
+
+ def setup(self):
+ self.resumeDownload = True
+ self.multiDL = True
+ self.limitDL = 6
+
+
+getInfo = create_getInfo(ZahikiNet)