Loading...
Loading...
Compare original and translation side by side
readpagesearchreadpagesearch| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| string | Yes | - | Search query (1-500 chars) |
| string | No | | Search engine type |
| string | No | | Time range filter |
| string | No | - | Type of return content |
| int | No | | Number of search results (1-10) |
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| string | 是 | - | 搜索关键词(1-500字符) |
| string | 否 | | 搜索引擎类型 |
| string | 否 | | 时间范围过滤 |
| string | 否 | - | 返回内容类型 |
| int | 否 | | 搜索结果数量(1-10) |
--query--engineTypeLiteAdvancedGeneric--timeRangeNoLimitOneDayOneWeekOneMonthOneYear--contentsmainTextsummary--numResults--query--engineTypeLiteAdvancedGeneric--timeRangeNoLimitOneDayOneWeekOneMonthOneYear--contentsmainTextsummary--numResults| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| string | Yes | - | Target page URL |
| string | No | | Return format |
| number | No | | Total timeout in milliseconds |
| number | No | | Page load timeout in milliseconds |
| number | No | | Enable stealth mode (0 or 1) |
| boolean | No | | Extract main article content only |
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| string | 是 | - | 目标页面URL |
| string | 否 | | 返回格式 |
| number | 否 | | 总超时时间,单位毫秒 |
| number | 否 | | 页面加载超时时间,单位毫秒 |
| number | 否 | | 启用隐身模式(0或1) |
| boolean | 否 | | 仅提取正文内容 |
--formatmarkdowntexthtml--extractArticle--timeout--stealth--timeout--stealth 1--formatmarkdowntexthtml--extractArticle--timeout--stealth--timeout--stealth 1node scripts/search.mjs --query "量子计算原理" --engineType LiteAdvancednode scripts/search.mjs --query "量子计算原理" --engineType LiteAdvancednode scripts/search.mjs --query "最新金融政策" --engineType Generic --timeRange OneWeeknode scripts/search.mjs --query "最新金融政策" --engineType Generic --timeRange OneWeeknode scripts/search.mjs --query "www.aliyun.com" --engineType LiteAdvanced --numResults 3node scripts/search.mjs --query "www.aliyun.com" --engineType LiteAdvanced --numResults 3node scripts/search.mjs --query "AI 法案" --engineType LiteAdvanced --contents mainTextnode scripts/search.mjs --query "AI 法案" --engineType LiteAdvanced --contents mainTextnode scripts/search.mjs --query "人工智能行业年度报告" --engineType LiteAdvanced --contents summarynode scripts/search.mjs --query "人工智能行业年度报告" --engineType LiteAdvanced --contents summarynode scripts/readpage.mjs --url "https://example.com/article" --format markdown --extractArticle truenode scripts/readpage.mjs --url "https://example.com/article" --format markdown --extractArticle truenode scripts/readpage.mjs --url "https://example.com/article" --format text --timeout 60000node scripts/readpage.mjs --url "https://example.com/article" --format text --timeout 60000node scripts/readpage.mjs --url "https://example.com/article" --format markdown --stealth 1 --extractArticle truenode scripts/readpage.mjs --url "https://example.com/article" --format markdown --stealth 1 --extractArticle trueexport ALIYUN_IQS_API_KEY="your-api-key"~/.alibabacloud/iqs/envALIYUN_IQS_API_KEY=your-api-keyexport ALIYUN_IQS_API_KEY="your-api-key"~/.alibabacloud/iqs/envALIYUN_IQS_API_KEY=your-api-key