#2293·crawl4ai

[错误]: cleaned_html 在嵌套在未关闭的 <noscript> 中时会删除页面正文

作者: tommypacker创建于 2026年9月25日更新于 2026年9月26日
# Offline repro: the shape page.content() produces for such a page from crawl4ai.content_scraping_strategy import LXMLWebScrapingStrategy html = """Example shop

Real heading

Real body copy.

""" print(LXMLWebScrapingStrategy().scrap("https://example.com/", html).cleaned_html) # Actual: Example shop # Expected: the

and

are kept

内容来源: unclecode/crawl4ai