diff options
Diffstat (limited to 'module/Py_Load_File.py')
-rw-r--r-- | module/Py_Load_File.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/module/Py_Load_File.py b/module/Py_Load_File.py index 9fcd554a5..d0a4c4591 100644 --- a/module/Py_Load_File.py +++ b/module/Py_Load_File.py @@ -26,6 +26,11 @@ class PyLoadFile: return "Plugin" def prepareDownload(self): + + if self.parent.config['useproxy']: + self.plugin.req.add_proxy(self.parent.config['proxyprotocol'], self.parent.config['proxyadress']) + + self.status.exists = self.plugin.file_exists() if self.status.exists: self.status.filename = self.plugin.get_file_name() |