'Download all task content and store in temporary folder.
:param bool require_path:
whether or not entries without \'path\' field are ignored
:param bool handle_magnets:
when used any of urls containing magnet link will replace url,
otherwise warning is printed.
:param fail_html:
fail entries which url respond with html content
:param tmp_path:
path to use for temporary files while downloading'

def get_temp_files(self, task, require_path=False, handle_magnets=False, fail_html=True, tmp_path=tempfile.gettempdir()):

    for entry in task.accepted:
        self.get_temp_file(task, entry, require_path, handle_magnets, fail_html, tmp_path)
