Skip to content

Bulk asynchronous downloader for multiple file hosts

bad type hinting for 3.7

Jules-WinnfieldXa7bf3a2e4c9e
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 4f1e6b1b5..a78f213cd 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "2.9.2"
+__version__ = "2.9.3"
diff --git a/cyberdrop_dl/utils/downloaders.py b/cyberdrop_dl/utils/downloaders.py
index b82abd28e..a5b96cd74 100644
--- a/cyberdrop_dl/utils/downloaders.py
+++ b/cyberdrop_dl/utils/downloaders.py
@@ -218,7 +218,7 @@ def simple_cookies(cookies):
return morsels
-def get_downloaders(Cascade: CascadeItem, folder: Path, attempts: int, threads: int) -> list[Downloader]:
+def get_downloaders(Cascade: CascadeItem, folder: Path, attempts: int, threads: int) -> List[Downloader]:
"""Get a list of downloaders for each supported type of URLs.
We shouldn't just assume that each URL will have the same netloc as
the first one, so we need to classify them one by one, sort them to