From 0a9b624010f72a083ee0db7b139694a1e66030d1 Mon Sep 17 00:00:00 2001 From: Geoff-Robin Date: Mon, 6 Oct 2025 18:27:54 +0530 Subject: [PATCH] changed return type for fetch_page_content to Dict[str,str] --- cognee/tasks/web_scraper/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/tasks/web_scraper/utils.py b/cognee/tasks/web_scraper/utils.py index d5e1301bc..28a19d69f 100644 --- a/cognee/tasks/web_scraper/utils.py +++ b/cognee/tasks/web_scraper/utils.py @@ -18,7 +18,7 @@ async def fetch_page_content( preferred_tool: Optional[Literal["tavily", "beautifulsoup"]] = "beautifulsoup", tavily_config: Optional[TavilyConfig] = None, soup_crawler_config: Optional[SoupCrawlerConfig] = None, -) -> Dict[str, Union[str, Dict[str, str]]]: +) -> Dict[str, str]: """Fetch content from one or more URLs using the specified tool. This function retrieves web page content using either BeautifulSoup (with custom