From dc99fe918b035b3a049493e945d837077f79aac8 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 14 Feb 2011 21:48:48 +0100 Subject: averaged download speed --- module/plugins/hoster/BasePlugin.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'module/plugins/hoster') 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] -- cgit v1.2.3