From de034056468bb5cea26351be1d76f01fd2826395 Mon Sep 17 00:00:00 2001
From: zoidberg10 [^<]+)'
- FILE_OFFLINE_PATTERN = r'Soubor nenalezen
'
-
- PREMIUM_URL_PATTERN = r'href="(http://[^/]+/dwn-premium.php.*?)"'
- DOMAIN = "http://csd01.coolshare.cz"
-
- SH_CHECK_TRAFFIC = True
-
- def handleFree(self):
- try:
- self.download("%s/dwn-free.php?fid=%s" % (self.DOMAIN, self.file_info['ID']))
- except BadHeader, e:
- if e.code == 403:
- self.setWait(300, True)
- self.wait()
- self.retry(max_tries = 24, reason = "Download limit reached")
- else: raise
-
- def handlePremium(self):
- found = re.search(self.PREMIUM_URL_PATTERN, self.html)
- if not found: self.parseError("Premium URL")
- url = html_unescape(found.group(1))
- self.logDebug("Premium URL: " + url)
- if not url.startswith("http://"): self.resetAccount()
- self.download(url)
-
-getInfo = create_getInfo(CoolshareCz)
\ No newline at end of file
diff --git a/module/plugins/hoster/EnteruploadCom.py b/module/plugins/hoster/EnteruploadCom.py
deleted file mode 100644
index 2c99b0047..000000000
--- a/module/plugins/hoster/EnteruploadCom.py
+++ /dev/null
@@ -1,82 +0,0 @@
-# -*- coding: utf-8 -*-
-"""
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License,
- or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, see (?P
\s*File size:\s*(?P[0-9.]+)\s*(?P[kKMG])i?B'
- FILE_OFFLINE_PATTERN = r'<(b|h2)>File Not Found(b|h2)>|No such file with this filename'
- TEMP_OFFLINE_PATTERN = r'>This server is in maintenance mode\. Refresh this page in some minutes\.<'
- URL_REPLACEMENTS = [(r"(http://(?:www\.)?enterupload.com/\w+).*", r"\1")]
-
- FORM1_PATTERN = r''
- FORM2_PATTERN = r''
- FORM3_PATTERN = r'