From 38510655007c83b72ef9ff87e4d0640aae87e88c Mon Sep 17 00:00:00 2001 From: Joscha Date: Tue, 18 May 2021 23:23:40 +0200 Subject: [PATCH] Fix local crawler's download bars Display the pure path instead of the local path. --- PFERD/crawlers/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PFERD/crawlers/local.py b/PFERD/crawlers/local.py index 363107f..d4156bc 100644 --- a/PFERD/crawlers/local.py +++ b/PFERD/crawlers/local.py @@ -91,7 +91,7 @@ class LocalCrawler(Crawler): if not dl: return - async with self.download_bar(path) as bar: + async with self.download_bar(pure) as bar: await asyncio.sleep(random.uniform( 0.5 * self._download_delay, self._download_delay,