Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: bunkr file ext check

NTFSvolumea48e8cfde1cb
diff --git a/cyberdrop_dl/utils/utilities.py b/cyberdrop_dl/utils/utilities.py
index 7e170c742..5d70b41c4 100644
--- a/cyberdrop_dl/utils/utilities.py
+++ b/cyberdrop_dl/utils/utilities.py
@@ -230,7 +230,7 @@ async def remove_id(manager: Manager, filename: str, ext: str) -> Tuple[str, str
elif await _is_number(ext) and tail in _7Z_FILE_EXTENSIONS and "-" in filename:
filename , _7z_ext = filename.rsplit("-", 1)
filename = f"{filename}.{_7z_ext}"
- if ext not in filename:
+ if not filename.endswith(ext):
filename = filename + ext
return original_filename, filename