Files
tool-node/config.json
zhaojunlong 0648770a6a ```
feat(config): 更新配置中字段名从target_link改为detail_link

将JSON配置中的target_link字段统一改为detail_link,以更好地反映链接的实际用途。

BREAKING CHANGE: 配置文件中的字段名发生变化,需要更新相关引用
```
2026-03-11 14:42:38 +08:00

30 lines
1.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"agent": {
"baseUrl": "http://192.168.3.65:18625",
"useBrowser": false,
"pollInterval": 3000,
"timeout": 3600000
},
"tasks": [
{
"id": "task-1710000000001",
"city": "南京市",
"prompt": "使用scrapling技能的fetch来爬取https://njggzy.nanjing.gov.cn/njweb/gchw/goods.html里房建市政、工程货物、交通水务、政府采购、产权交易、土地矿产、铁路航运和农村产权8个板块的招标公告列表的当天的的招标公告获取项目名称 和项目金额(可能为合同预估价/最高投标限价等等如果当天没有公告默认获取最新的1条数据不要试图写代码去正则匹配金额因为金额的表述很多样优先获取到详情md文件或者html使用`takeMoney`工具进行获取提取金额。\n输出结果为jsonjson结构如下\n```\n{\n \"results\": [\n\n {\n \"type\": \"比如房建市政\",\n\t\t\"project_name\": \"\",\n\t\t\"amount_yuan\": 0,\n\t\t\"date\": \"yyyy-MM-dd\",\n\t\t\"detail_link: \"http...\"\n\t }\n ]\n}\n```",
"enabled": true,
"mode": "glm-5",
"useBrowser": false
}
],
"scheduler": {
"enabled": false,
"cronTime": "0 9 * * *",
"description": "每天9点采集当日项目"
},
"email": {
"smtpHost": "smtp.qq.com",
"smtpPort": 587,
"smtpUser": "1076597680@qq.com",
"smtpPass": "nfrjdiraqddsjeeh",
"recipients": "5482498@qq.com"
}
}