Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: partial file names (#1537)

NTFSvolumee162d9be8bcf
diff --git a/cyberdrop_dl/clients/download_client.py b/cyberdrop_dl/clients/download_client.py
index 0a0344f6c..4e4d6e205 100644
--- a/cyberdrop_dl/clients/download_client.py
+++ b/cyberdrop_dl/clients/download_client.py
@@ -93,7 +93,7 @@ class DownloadClient:
if media_item.is_segment:
media_item.partial_file = media_item.complete_file = download_dir / media_item.filename
else:
- media_item.partial_file = download_dir / f"{downloaded_filename}.{constants.TempExt.PART}"
+ media_item.partial_file = download_dir / f"{downloaded_filename}{constants.TempExt.PART}"
resume_point = 0
if media_item.partial_file and (size := await asyncio.to_thread(get_size_or_none, media_item.partial_file)):