Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix get key from file also change completed_downloads to a set
datawhores3560250e318a
diff --git a/cyberdrop_dl/clients/hash_client.py b/cyberdrop_dl/clients/hash_client.pyindex c5d8484ff..983c5323d 100644--- a/cyberdrop_dl/clients/hash_client.py+++ b/cyberdrop_dl/clients/hash_client.py@@ -35,7 +35,7 @@ class HashClient:raise Exception("Path is not a directory")for file in pathlib.Path(path).glob("**/*"):await self.hash_item(file)- def _get_key_from_file(file):+ def _get_key_from_file(self,file):return str(pathlib.Path(file).absolute())async def hash_item(self,file):key=self._get_key_from_file(file)