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