diff options
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 71a06c8b5..ec8a0151a 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -450,6 +450,9 @@ class Plugin(object): name = removeChars(name, '/\\"') filename = join(location, fs_encode(name)) + + self.core.hookManager.dispatchEvent("downloadStarts", self.pyfile, url, filename) + try: newname = self.req.httpDownload(url, filename, get=get, post=post, ref=ref, cookies=cookies, chunks=self.getChunkCount(), resume=self.resumeDownload, |