Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Update url_objects.py
Jacobb243c01eb746
diff --git a/cyberdrop_dl/utils/dataclasses/url_objects.py b/cyberdrop_dl/utils/dataclasses/url_objects.pyindex b950268fe..221cf7cac 100644--- a/cyberdrop_dl/utils/dataclasses/url_objects.py+++ b/cyberdrop_dl/utils/dataclasses/url_objects.py@@ -11,7 +11,7 @@ if TYPE_CHECKING:class MediaItem:def __init__(self, url: "URL", referer: "URL", album_id: Union[str, None], download_folder: Path, filename: str,- ext: str, original_filename: str, debrid_link: Optional['URL'] = None):+ ext: str, original_filename: str, debrid_link: Optional['URL'] = None):self.url: URL = urlself.referer: URL = refererself.debrid_link: URL = debrid_link@@ -34,12 +34,12 @@ class MediaItem:class ScrapeItem:def __init__(self, url: "URL", parent_title: str, part_of_album: bool = False, album_id: Union[str, None] = None,- possible_datetime: int = None,- retry: bool = False, retry_path: Path = None):+ possible_datetime: int = None,+ retry: bool = False, retry_path: Path = None):self.url: URL = urlself.parent_title: str = parent_title# WARNING: unsafe but deepcopy is used when a new child item is created- self.parents : list[URL] = []+ self.parents: list[URL] = []self.part_of_album: bool = part_of_albumself.album_id: Union[str, None] = album_idself.possible_datetime: int = possible_datetime