From b83470124df58bccbe149b5b37cfc7922ee96aac Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 3 Jun 2015 22:38:02 +0200 Subject: New plugin: ZahikiNet --- module/plugins/hoster/ZahikiNet.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 module/plugins/hoster/ZahikiNet.py (limited to 'module') diff --git a/module/plugins/hoster/ZahikiNet.py b/module/plugins/hoster/ZahikiNet.py new file mode 100644 index 000000000..ffcca2209 --- /dev/null +++ b/module/plugins/hoster/ZahikiNet.py @@ -0,0 +1,31 @@ +# -*- 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.+?) ' + 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) -- cgit v1.2.3