summaryrefslogtreecommitdiffstats
path: root/Py_Load_File.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-19 00:07:08 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-19 00:07:08 +0200
commit45186b775ba6cac2d659d14210f7d1c9bbcc2a89 (patch)
tree50dc8f061808af48731e902a835f3ae3c486eed6 /Py_Load_File.py
parentEr downloaded jetzt eine Rapidshare Datei, wait muss aber noch implementiert ... (diff)
downloadpyload-45186b775ba6cac2d659d14210f7d1c9bbcc2a89.tar.xz
funzt im moment nicht, aber ich arbeite daran
Diffstat (limited to 'Py_Load_File.py')
-rw-r--r--Py_Load_File.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Py_Load_File.py b/Py_Load_File.py
index 6463379a1..1d20e05e0 100644
--- a/Py_Load_File.py
+++ b/Py_Load_File.py
@@ -9,12 +9,18 @@ class PyLoadFile:
pluginClass = getattr(plugin, plugin.__name__)
self.plugin = pluginClass(self)
self.url = url
+ self.dl = None
self.filename = "filename"
self.download_folder = ""
self.status = Status(self.id)
+
def _get_my_plugin():
plugins = parent.get_avail_plugins()
-
+ def prepareDownload(self):
+ self.status.exist = True #self.plugin.file_exists()
+ self.status.filename = self.plugin.get_file_name()
+ self.status.waituntil = self.plugin.time_plus_wait
+ self.status.dl = self.plugin.get_file_url()