Skip to content

Bulk asynchronous downloader for multiple file hosts

rstrip .'s from folder names

Jules-WinnfieldXda5cc229ab81
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index e9999764d..b5419086d 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.0.116"
+__version__ = "5.0.117"
diff --git a/cyberdrop_dl/utils/utilities.py b/cyberdrop_dl/utils/utilities.py
index 416729477..c5588a681 100644
--- a/cyberdrop_dl/utils/utilities.py
+++ b/cyberdrop_dl/utils/utilities.py
@@ -111,6 +111,7 @@ async def sanitize_folder(title: str) -> str:
title = re.sub(' +', ' ', title)
title = re.sub(r'[\\*?:"<>|/]', "-", title)
title = re.sub(r'\.{2,}', ".", title)
+ title = title.rstrip(".").strip()
if "(" in title and ")" in title:
new_title = title.rsplit("(")[0].strip()
diff --git a/pyproject.toml b/pyproject.toml
index 7ad51d656..e16171f02 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
-version = "5.0.116"
+version = "5.0.117"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"