Skip to content

Bulk asynchronous downloader for multiple file hosts

strip unicode characters from terminal screen progress

Jules-WinnfieldX01ba08049351
diff --git a/README.md b/README.md
index 7cf486cd6..1cd4136ce 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# `cyberdrop-dl`
**Bulk downloader for multiple file hosts**
-The latest version of the program is 4.0.13
+The latest version of the program is 4.0.14
Brand new and improved! Cyberdrop-DL now has an updated paint job, fantastic new look. On top of this it also downloads from different domains simultaneously.
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index de917c3e0..ae7fe8d62 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "4.0.13"
+__version__ = "4.0.14"
diff --git a/cyberdrop_dl/downloader/downloaders.py b/cyberdrop_dl/downloader/downloaders.py
index b8cb2b91a..a3ce7b6c4 100644
--- a/cyberdrop_dl/downloader/downloaders.py
+++ b/cyberdrop_dl/downloader/downloaders.py
@@ -119,6 +119,7 @@ class Downloader:
if await album_obj.is_empty():
return
task_description = album.split('/')[-1]
+ task_description = task_description.encode("ascii", "ignore").decode().strip()
if len(task_description) >= 40:
task_description = task_description[:37] + "..."
else:
@@ -216,6 +217,7 @@ class Downloader:
headers['Range'] = range_num
task_description = media.filename
+ task_description = task_description.encode("ascii", "ignore").decode().strip()
if len(task_description) >= 40:
task_description = task_description[:37] + "..."
else: