# 参数

Das Crawling API 参数 Vergrößern Smart AI Proxy 作为以“.“开头的标头 CrawlbaseAPI-Parameters: ....

这样, 您就可以为爬虫行为提供具体的配置和指令. Smart AI Proxy使您能够根据自身具体需求定制请求.

以下示例说明了如何使用 Smart AI Proxy 发出地理位置请求,专门针对美国 country=US. 此外, 还可以使用各种 API 参数, 包括但不限于: store=true, device=mobileget_cookies=true.

  • curl
  • Rubin
  • Knoten
  • php
  • python
  • go

Verwenden von HTTP:

curl -H "CrawlbaseAPI-Parameters: country=US&get_headers=true" \
-x "http://[email protected]:8012" \
-k "http://httpbin.org/ip"

Verwenden von HTTPS:

curl -H "CrawlbaseAPI-Parameters: country=US&get_headers=true" \
-x "https://[email protected]:8013" \
-k "http://httpbin.org/ip"