From 63cef4c7d641ffddaeabcd768020674e2681ba05 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 20 Mar 2013 21:39:30 +0100 Subject: improved ui, render waiting files --- module/plugins/hoster/BasePlugin.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py index b495be873..293049a1a 100644 --- a/module/plugins/hoster/BasePlugin.py +++ b/module/plugins/hoster/BasePlugin.py @@ -29,12 +29,13 @@ class BasePlugin(Hoster): self.multiDL = False return -# self.__name__ = "NetloadIn" -# pyfile.name = "test" -# self.html = self.load("http://localhost:9000/short") -# self.download("http://localhost:9000/short") -# self.api = self.load("http://localhost:9000/short") -# self.decryptCaptcha("http://localhost:9000/captcha") + #TODO: remove debug + if pyfile.url.lower().startswith("debug"): + self.setWait(30) + self.wait() + self.decryptCaptcha("http://pyload.org/pie.png") + self.download("http://pyload.org/random100.bin") + return # # if pyfile.url == "79": # self.core.api.addPackage("test", [str(i) for i in range(80)], 1) -- cgit v1.2.3