From 51e279d9414a2e69133bbd5c51ac228e758f3cd9 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 7 Oct 2014 20:15:39 +0200 Subject: Fix previous merging --- module/plugins/hoster/FilepupNet.py | 50 ------------------------------------ module/plugins/hoster/PandaPlaNet.py | 17 ------------ 2 files changed, 67 deletions(-) delete mode 100644 module/plugins/hoster/FilepupNet.py delete mode 100644 module/plugins/hoster/PandaPlaNet.py (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/FilepupNet.py b/module/plugins/hoster/FilepupNet.py deleted file mode 100644 index 12b2f7798..000000000 --- a/module/plugins/hoster/FilepupNet.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Test links: -# http://www.filepup.net/files/k5w4ZVoF1410184283.html -# http://www.filepup.net/files/R4GBq9XH1410186553.html - -import re - -from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo - - -class FilepupNet(SimpleHoster): - __name__ = "FilepupNet" - __type__ = "hoster" - __version__ = "0.01" - - __pattern__ = r'http://(?:www\.)?filepup\.net/files/\w+' - - __description__ = """Filepup.net hoster plugin""" - __authors__ = [("zapp-brannigan", "fuerst.reinje@web.de"), - ("Walter Purcaro", "vuolter@gmail.com")] - - - FILE_NAME_PATTERN = r'>(?P.+?)' - FILE_SIZE_PATTERN = r'class="fa fa-archive"> \((?P[\d.]+) (?P\w+)' - - OFFLINE_PATTERN = r'>This file has been deleted' - - LINK_PATTERN = r'(http://www\.filepup\.net/get/.+?)\'' - - - def setup(self): - self.multiDL = False - self.chunkLimit = 1 - - - def handleFree(self): - m = re.search(self.LINK_PATTERN, self.html) - if m is None: - self.parseError("Download link not found") - - dl_link = m.group(1) - self.download(dl_link, post={'task': "download"}) - - check = self.checkDownload({'html': re.compile("html")}) - if check == "html": - self.parseError("Downloaded file is an html file") - - -getInfo = create_getInfo(FilepupNet) diff --git a/module/plugins/hoster/PandaPlaNet.py b/module/plugins/hoster/PandaPlaNet.py deleted file mode 100644 index 9473726fa..000000000 --- a/module/plugins/hoster/PandaPlaNet.py +++ /dev/null @@ -1,17 +0,0 @@ -# -*- coding: utf-8 -*- - -from module.plugins.internal.DeadHoster import DeadHoster, create_getInfo - - -class PandaPlaNet(DeadHoster): - __name__ = "PandaPlaNet" - __type__ = "hoster" - __version__ = "0.02" - - __pattern__ = r'http://(?:www\.)?pandapla\.net/\w{12}' - - __description__ = """Pandapla.net hoster plugin""" - __authors__ = [("t4skforce", "t4skforce1337[AT]gmail[DOT]com")] - - -getInfo = create_getInfo(PandaPlaNet) -- cgit v1.2.3