渲染类型检测将失败的静态运行视为"仅客户端"
作者: ayush27316创建于 2026年7月28日更新于 2026年8月11日
标签t-tooling
Crawlee 1.8.4, _adaptive_playwright_crawler.py:431:
static_run = await self._crawl_one('static', context=context, state=old_state_copy)
if static_run.result and self.result_comparator(static_run.result, pw_run.result):
detection_result = 'static'
else:
detection_result = 'client only'如果静态子爬虫发生错误(连接重置,超时,retry_on_blocked 中的 SessionError),则 static_run.result 为 None,因此进入 else 并使用 'client only' 训练预测器。static_run.exception 没有检查。
内容来源: apify/crawlee-python