From 8e7d14bae4d3c836f029a1235eb227380acc3f75 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 21:59:10 +0100 Subject: Fix plugins to work on 0.4.10 --- module/plugins/hoster/MystoreTo.py | 45 -------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 module/plugins/hoster/MystoreTo.py (limited to 'module/plugins/hoster/MystoreTo.py') diff --git a/module/plugins/hoster/MystoreTo.py b/module/plugins/hoster/MystoreTo.py deleted file mode 100644 index 3bb424d4d..000000000 --- a/module/plugins/hoster/MystoreTo.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Test link: -# http://mystore.to/dl/mxcA50jKfP - -import re - -from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo - - -class MystoreTo(SimpleHoster): - __name__ = "MystoreTo" - __type__ = "hoster" - __version__ = "0.03" - - __pattern__ = r'https?://(?:www\.)?mystore\.to/dl/.+' - - __description__ = """Mystore.to hoster plugin""" - __license__ = "GPLv3" - __authors__ = [("zapp-brannigan", "")] - - - NAME_PATTERN = r'

(?P.+?)<' - SIZE_PATTERN = r'FILESIZE: (?P[\d\.,]+) (?P[\w^_]+)' - OFFLINE_PATTERN = r'>file not found<' - - - def setup(self): - self.chunkLimit = 1 - self.resumeDownload = True - self.multiDL = True - - - def handleFree(self, pyfile): - try: - fid = re.search(r'wert="(.+?)"', self.html).group(1) - - except AttributeError: - self.error(_("File-ID not found")) - - self.link = self.load("http://mystore.to/api/download", - post={'FID': fid}) - - -getInfo = create_getInfo(MystoreTo) -- cgit v1.2.3