Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: free space check on network drives (Windows)

NTFSvolumeceeeaf506f9b
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 64155a330..7c4cd309f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,17 @@ All notable changes to this project will be documented here. For more details, v
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## UNRELEASED
+
+### Changed
+
+- Detect and report BasedFlare anti-bot protection
+
+### Fixed
+
+- Update website salt (Gofile)
+- Free space check on network drives (Windows)
+
## [9.15.1] - 2026-06-11
### Fixed
diff --git a/cyberdrop_dl/storage/_psutil.py b/cyberdrop_dl/storage/_psutil.py
index 5be6ad437..e15e111e2 100644
--- a/cyberdrop_dl/storage/_psutil.py
+++ b/cyberdrop_dl/storage/_psutil.py
@@ -68,6 +68,7 @@ def _disk_usage(path: Path) -> int:
async def get_free_space(folder: Path) -> int:
+ await _check_nt_network_drive(folder)
mount = _get_mount_point(folder)
if not mount:
return 0
@@ -137,10 +138,7 @@ async def start_loop() -> None:
if not mountpoints:
return
- usage = await asyncio.gather(
- *(asyncio.to_thread(_disk_usage, mount) for mount in mountpoints),
- return_exceptions=False,
- )
+ usage = await asyncio.gather(*(asyncio.to_thread(_disk_usage, mount) for mount in mountpoints))
_free_space.update(zip(mountpoints, usage, strict=True))
last_check = -1