Authorization: Bearer ********************
<...>
标识,规范返回数据格式。如果爬取的数据有缺失,说明字段声明有歧义,ai无法理解或不清楚具体应该填充哪个内容。例如上面的titile 到底是网页的title还是文章的title。{
"endpoint": "scrape",
"url": "https://www.jianshu.com/p/f08ed6faf1a8",
"fields": {
"title": "",
"author": "",
"content": "",
"public_time": "",
"word_count": ""
}
}
curl --location --request POST 'https://api.gpt.ge/task/scrape/run-sync' \
--header 'Content-Type: application/json' \
--data-raw '{
"endpoint": "scrape",
"url": "https://www.jianshu.com/p/f08ed6faf1a8",
"fields": {
"title": "",
"author": "",
"content": "",
"public_time": "",
"word_count": ""
}
}'
{
"task_id": "tUaXHZethj8WJ92it",
"status": "READY",
"started_at": "2025-04-18T18:15:06.566Z",
"finished_at": null
}