summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BasePlugin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-04-30 21:37:01 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-04-30 21:37:01 +0200
commit07471fe730b0a50fb3b23ec0eb78061046867500 (patch)
tree7881f0bac05f39a14b07f3445f04a2d359892721 /module/plugins/hoster/BasePlugin.py
parentclosed #290, #291, #292 (diff)
downloadpyload-07471fe730b0a50fb3b23ec0eb78061046867500.tar.xz
closed #294, #295
Diffstat (limited to 'module/plugins/hoster/BasePlugin.py')
-rw-r--r--module/plugins/hoster/BasePlugin.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py
index 50652010c..7b3f56c4d 100644
--- a/module/plugins/hoster/BasePlugin.py
+++ b/module/plugins/hoster/BasePlugin.py
@@ -31,14 +31,10 @@ class BasePlugin(Hoster):
# self.core.server_methods.add_package("test", [str(i) for i in range(80)], 1)
#
# return
-
-
- self.load("http://pyload.org", just_header=True)
-
if pyfile.url.startswith("http"):
pyfile.name = re.findall("([^/=]+)", pyfile.url)[-1]
- self.download(pyfile.url)
+ self.download(pyfile.url, disposition=True)
else:
self.fail("No Plugin matched and not a downloadable url.") \ No newline at end of file