Skip to content

Commit 7b5b53f

Browse files
feat(api): api update
1 parent e9a3f21 commit 7b5b53f

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 41
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-29a5e9392b60f02d4c19d457b92666bf54d49479670e719f36f23a5d3943f188.yml
3-
openapi_spec_hash: 8a9c44d740853834fb6d7174013c1984
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-d4c568ebc1a0f853b02c55ba800c7d7b66189bc6dd22c3cb565a81361c832e2b.yml
3+
openapi_spec_hash: 9a0ecdc06874eee29a3a58a699923405
44
config_hash: 0fb0ceca5946298c416cec0cca5260c7

‎pkg/cmd/web.go‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ var webWebCrawlMd = requestflag.WithInnerFlags(cli.Command{
557557
},
558558
&requestflag.Flag[string]{
559559
Name: "url-regex",
560-
Usage: "Regex pattern. Only URLs matching this pattern will be followed and scraped.",
560+
Usage: "Regex pattern. Only URLs matching this pattern will be followed and scraped. An automatic prefix scope in the form ^<starting URL> follows a redirect of the starting page.",
561561
BodyPath: "urlRegex",
562562
},
563563
&requestflag.Flag[bool]{
@@ -568,7 +568,8 @@ var webWebCrawlMd = requestflag.WithInnerFlags(cli.Command{
568568
},
569569
&requestflag.Flag[int64]{
570570
Name: "wait-for-ms",
571-
Usage: "Optional browser wait time in milliseconds after initial page load for each crawled page. Min: 0. Max: 30000 (30 seconds). ",
571+
Usage: "Browser wait time in milliseconds after initial page load for each crawled page. Defaults to 3500 (3.5 seconds). Min: 0. Max: 30000 (30 seconds).",
572+
Default: 3500,
572573
BodyPath: "waitForMs",
573574
},
574575
&requestflag.Flag[string]{

0 commit comments

Comments
 (0)