🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
add strip for result.
刘棒棒ff5e7deb215d
diff --git a/metagpt/tools/libs/web_scraping.py b/metagpt/tools/libs/web_scraping.pyindex e8e73f123..921fca809 100644--- a/metagpt/tools/libs/web_scraping.py+++ b/metagpt/tools/libs/web_scraping.py@@ -19,4 +19,4 @@ async def scrape_web_playwright(url, *urls):web = await PlaywrightWrapper("chromium").run(url, *urls)# Return the inner text content of the web page- return {"inner_text": web.inner_text, "html": web.html}+ return {"inner_text": web.inner_text.strip(), "html": web.html.strip()}