Fix local crawler's download bars

Display the pure path instead of the local path.
This commit is contained in:
Joscha 2021-05-18 23:23:40 +02:00
parent 4b68fa771f
commit 3851065500

View File

@ -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,