'Call download plugin to generate torrent files to load into
qBittorrent.'

@plugin.priority(120)
def on_task_download(self, task, config):

    config = self.prepare_config(config)
    if (not config[u'enabled']):
        return
    if (u'download' not in task.config):
        download = plugin.get_plugin_by_name(u'download')
        download.instance.get_temp_files(task, handle_magnets=True, fail_html=config[u'fail_html'])
