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

