请求头、Cookie、方法
了解在使用 网页爬虫 API 抓取时如何自定义请求头、Cookie 或 HTTP 方法。
自定义 headers
代码示例
{
"context": [
{
"key": "force_headers",
"value": true
},
{
"key": "headers",
"value": {
"Accept-Language": "en-US,en;q=0.5"
}
}
]
"source": "universal",
"url": "https://example.com",
}自定义 cookies
代码示例
HTTP 方法
最后更新于
这有帮助吗?

