docs: minor fix

This commit is contained in:
yanlong.wang 2025-03-10 17:02:16 +08:00
parent ce11f44b92
commit 4e5abd345e
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -74,7 +74,7 @@ class Viewport extends AutoCastable {
schema: { type: 'string' } schema: { type: 'string' }
}, },
'X-Respond-With': { 'X-Respond-With': {
description: `Specifies the (non-default) form factor of the crawled data you prefer.\n\n` + description: `Specifies the (non-default) form of the crawled data you prefer.\n\n` +
`Supported formats: \n` + `Supported formats: \n` +
`- markdown\n` + `- markdown\n` +
`- html\n` + `- html\n` +
@ -82,7 +82,9 @@ class Viewport extends AutoCastable {
`- pageshot\n` + `- pageshot\n` +
`- screenshot\n` + `- screenshot\n` +
`- content\n` + `- content\n` +
`- any combination of the above\n\n` + `- any combination of the above\n` +
`- readerlm-v2\n` +
`- vlm\n\n` +
`Default: content\n` `Default: content\n`
, ,
in: 'header', in: 'header',
@ -201,7 +203,7 @@ class Viewport extends AutoCastable {
schema: { type: 'string' } schema: { type: 'string' }
}, },
'X-Engine': { 'X-Engine': {
description: 'Specify the engine to use for crawling.\n\nSupported: browser, direct, vlm, readerlm-v2', description: 'Specify the engine to use for crawling.\n\nSupported: browser, direct, cf-browser-rendering',
in: 'header', in: 'header',
schema: { type: 'string' } schema: { type: 'string' }
}, },