summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hoster.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-07-30 21:35:29 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-07-30 21:35:29 +0200
commit2497c100de34c113304227f72015bfb3755854a3 (patch)
treee382f92368a37d623f5aea5d02609a13a1c338d8 /module/plugins/Hoster.py
parentrestart working and client information (diff)
downloadpyload-2497c100de34c113304227f72015bfb3755854a3.tar.xz
daily commit
Diffstat (limited to 'module/plugins/Hoster.py')
-rw-r--r--module/plugins/Hoster.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/module/plugins/Hoster.py b/module/plugins/Hoster.py
index 75f925587..16c018a99 100644
--- a/module/plugins/Hoster.py
+++ b/module/plugins/Hoster.py
@@ -27,35 +27,4 @@ class Hoster(Plugin):
__description__ = """Base hoster plugin"""
__author_name__ = ("mkaay")
__author_mail__ = ("mkaay@mkaay.de")
-
- def preparePlugin(self, thread):
- self.thread = thread
- self.usePremium = False
-
- def getFileName(self):
- try:
- return re.findall("([^\/=]+)", self.pyfile.url)[-1]
- except:
- return self.pyfile.url[:20]
-
- def isOnline(self):
- return True
-
- def multiDownload(self):
- return True
-
- def prepareDownload(self):
- pass
-
- def startDownload(self):
- self.req.download(self.pyfile.url, self.pyfile.folder)
-
- def verifyDownload(self):
- return True
-
- def wait(self, until=None, reconnect=False):
- self.pyfile.status.want_reconnect = reconnect
- self.pyfile.status.waituntil = until
- if not until:
- self.pyfile.status.waituntil = 0