# 参数
这个 Crawling API 参数 可以作为前缀为 CrawlbaseAPI-Parameters: ....
这使您可以向智能 AI 代理提供抓取行为的特定配置和指令,从而使您能够自定义请求以满足您的特定要求。
以下示例说明了如何使用智能 AI 代理发出地理定位请求,具体针对美国 country=US. 此外,还可以使用各种 API 参数,包括但不限于: store=true, device=mobile和 get_cookies=true.
- 卷曲
- 红宝石
- 节点
- PHP
- 蟒蛇
- go
使用 HTTP:
curl -H "CrawlbaseAPI-Parameters: country=US&get_headers=true" \
-x "http://[email protected]:8012" \
-k "http://httpbin.org/ip"
使用 HTTPS:
curl -H "CrawlbaseAPI-Parameters: country=US&get_headers=true" \
-x "https://[email protected]:8013" \
-k "http://httpbin.org/ip"
← 发布请求 标头和 Cookie →