diff options
Diffstat (limited to 'module/plugins/hoster/BasePlugin.py')
-rw-r--r-- | module/plugins/hoster/BasePlugin.py | 6 |
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 |