Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: some reprs

NTFSvolume4d5bdcd5b54c
diff --git a/cyberdrop_dl/clients/downloads.py b/cyberdrop_dl/clients/downloads.py
index c2d0f34c0..40fd7df77 100644
--- a/cyberdrop_dl/clients/downloads.py
+++ b/cyberdrop_dl/clients/downloads.py
@@ -60,7 +60,7 @@ class DownloadClient:
upper_limit,
)
- __repr__ = simple_repr("config", "_supports_ranges", "speed_limiter", "chunk_size")
+ __repr__ = simple_repr("config", "speed_limiter", "chunk_size")
@property
def http_client(self) -> HTTPClient:
diff --git a/cyberdrop_dl/downloader/http.py b/cyberdrop_dl/downloader/http.py
index 7745df1a5..7afd12ff2 100644
--- a/cyberdrop_dl/downloader/http.py
+++ b/cyberdrop_dl/downloader/http.py
@@ -135,7 +135,7 @@ class Downloader:
def __post_init__(self) -> None: ...
- __repr__ = simple_repr("slots", "server_slots", "log_prefix", "capacity", "_semaphore")
+ __repr__ = simple_repr("slots", "server_slots", "log_prefix", "capacity", "_semaphore", "_server_sems")
@property
def tui(self) -> ScrapingUI:
diff --git a/cyberdrop_dl/url_objects.py b/cyberdrop_dl/url_objects.py
index dea437b48..117df6383 100644
--- a/cyberdrop_dl/url_objects.py
+++ b/cyberdrop_dl/url_objects.py
@@ -146,7 +146,7 @@ class MuxVideo:
@final
[email protected](slots=True, kw_only=True)
[email protected](slots=True, kw_only=True, repr=False)
class MediaItem:
url: AbsoluteHttpURL
domain: str
@@ -257,7 +257,7 @@ class RetryInfo:
@final
[email protected](kw_only=True, slots=True)
[email protected](kw_only=True, slots=True, repr=False)
class ScrapeItem:
url: AbsoluteHttpURL
part_of_album: bool = False