更新您的抓取工具
将交付类型设置为批处理
"error": "Cannot trigger a batch job with a real-time scraper. Use /trigger_immediate endpoint instead"
使用首选 API 触发抓取工具
dca/trigger
curl "https://api.brightdata.com/dca/trigger?collector=ID_COLLECTOR&queue_next=1" -H "Content-Type: application/json" -H "Authorization: Bearer API_KEY" -d '[{"url":"https://targetwebsite.com/product_id/"}]'
dca/trigger_immediate
curl "https://api.brightdata.com/dca/trigger_immediate?collector=ID_COLLECTOR" -H "Content-Type: application/json" -H "Authorization: Bearer API_KEY" -d '{"url":"https://targetwebsite.com/product_id/"}'
j_****
z****
接收数据
此页面对您有帮助吗?