Skip to content

Commit 6635afc

Browse files
author
stlc-bot
committed
fix(api): document search domain limits and clarify scrape parameter errors (#1388)
Stainless-Generated-From: e4f66a3062aed45e61cbb72502f74861a44c22f5
1 parent b5ffb30 commit 6635afc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pkg/cmd/web.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ var webSearch = requestflag.WithInnerFlags(cli.Command{
318318
},
319319
&requestflag.Flag[[]string]{
320320
Name: "exclude-domain",
321-
Usage: `Blocklist — drop results from these domains. Example: ["pinterest.com", "reddit.com"].`,
321+
Usage: `Blocklist — drop results from these domains. Up to 100 domains. Example: ["pinterest.com", "reddit.com"].`,
322322
BodyPath: "excludeDomains",
323323
},
324324
&requestflag.Flag[string]{
@@ -333,7 +333,7 @@ var webSearch = requestflag.WithInnerFlags(cli.Command{
333333
},
334334
&requestflag.Flag[[]string]{
335335
Name: "include-domain",
336-
Usage: `Allowlist — only return results from these domains. Example: ["arxiv.org", "github.com"].`,
336+
Usage: `Allowlist — only return results from these domains. Up to 100 domains. Example: ["arxiv.org", "github.com"].`,
337337
BodyPath: "includeDomains",
338338
},
339339
&requestflag.Flag[map[string]any]{

0 commit comments

Comments
 (0)