技能标识:crawlee-web-scraper
Resilient web scraper with bot-detection evasion using the Crawlee library. Use when web_fetch is blocked by rate limits or bot detection. Supports single URLs, bulk file input, and automatic fallback from requests to Crawlee on 403/429 responses.
当网站阻止自动化请求时,可作为web_fetch的直接替代方案。Crawlee会自动处理会话管理、重试逻辑以及反爬虫检测规避。
bash
python
from crawleehttp import fetchwith_fallback
resp = fetchwithfallback(https://example.com)
print(resp.status_code, resp.text[:500])
每个URL对应一个JSON对象组成的数组:
json
[
{
url: https://example.com,
status: 200,
fetched_at: 2026-01-01T00:00:00Z,
length: 12345,
text: 页面内容...
}
]
bash
pip install crawlee requests
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 crawlee-web-scraper-1776108608 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 crawlee-web-scraper-1776108608 技能
skillhub install crawlee-web-scraper-1776108608
文件大小: 4.05 KB | 发布时间: 2026-4-14 11:24