From 2a9d181efcc87b545a7b7586e4a7c4b5e82109f4 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 9 Aug 2024 17:33:14 -0400 Subject: [PATCH] fix: Add output messages for scraping process --- aider/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aider/commands.py b/aider/commands.py index ca8a551fe..3e51835ef 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -128,6 +128,7 @@ class Commands: self.io.tool_error("Please provide a URL to scrape.") return + self.io.tool_output(f"Scraping {url}...") if not self.scraper: res = install_playwright(self.io) if not res: @@ -140,6 +141,8 @@ class Commands: content = self.scraper.scrape(url) or "" content = f"{url}:\n\n" + content + self.io.tool_output(f"... done.") + if paginate: # Use pypager to show the content source = StringSource(content)