[错误]: 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
"""
print(LXMLWebScrapingStrategy().scrap("https://example.com/", html).cleaned_html)
# Actual: Example shop
# Expected: the
Real heading
Real body copy.
and
are kept
内容来源: unclecode/crawl4ai