diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-14 21:48:48 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-14 21:48:48 +0100 |
commit | dc99fe918b035b3a049493e945d837077f79aac8 (patch) | |
tree | aeaa5f3cdd45c26f93fd75b54658bb7c81d63ee7 /module/plugins | |
parent | gui DownloadInfo fix (diff) | |
download | pyload-dc99fe918b035b3a049493e945d837077f79aac8.tar.xz |
averaged download speed
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/BasePlugin.py | 7 |
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] |