diff --git a/deepsearch/documents/core/convert.py b/deepsearch/documents/core/convert.py index 17b811db..cd51a6c5 100644 --- a/deepsearch/documents/core/convert.py +++ b/deepsearch/documents/core/convert.py @@ -198,7 +198,7 @@ def download_converted_documents( count = 1 for url in download_urls: filename = Path(urllib.parse.urlparse(url).path).name - download_name = Path(os.path.join(result_dir)) + download_name = Path(os.path.join(result_dir), filename) download_url(url, download_name), count += 1 progress.update(1)