summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-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]