summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-14 21:48:48 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-14 21:48:48 +0100
commitdc99fe918b035b3a049493e945d837077f79aac8 (patch)
treeaeaa5f3cdd45c26f93fd75b54658bb7c81d63ee7 /module/plugins/hoster
parentgui DownloadInfo fix (diff)
downloadpyload-dc99fe918b035b3a049493e945d837077f79aac8.tar.xz
averaged download speed
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/BasePlugin.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py
index 08c53a616..92853e578 100644
--- a/module/plugins/hoster/BasePlugin.py
+++ b/module/plugins/hoster/BasePlugin.py
@@ -20,6 +20,13 @@ class BasePlugin(Hoster):
def process(self, pyfile):
"""main function"""
+ self.__name__ = "NetloadIn"
+ pyfile.name = "test"
+ self.load("http://localhost:9000/short")
+ self.download("http://localhost:9000/short")
+ self.decryptCaptcha("http://localhost:9000/captcha")
+ return
+
if pyfile.url.startswith("http"):
pyfile.name = re.findall("([^/=]+)", pyfile.url)[-1]