Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix: coroutine 'filter_by_duration' was never awaited (#1790)
Barbarella6666666bb0c297a43b1
diff --git a/cyberdrop_dl/clients/download_client.py b/cyberdrop_dl/clients/download_client.pyindex fe7bdf7c9..7aa78a9a8 100644--- a/cyberdrop_dl/clients/download_client.py+++ b/cyberdrop_dl/clients/download_client.py@@ -211,7 +211,7 @@ class DownloadClient:if downloaded:await aio.move(media_item.partial_file, media_item.path)if not media_item.is_segment:- proceed = not filter_by_duration(media_item, self.manager.config)+ proceed = not await filter_by_duration(media_item, self.manager.config)await self.manager.database.history.add_duration(domain, media_item)if not proceed:logger.info(f"Download skipped {media_item.url} due to runtime restrictions")