Skip to content

Commit 928e7f5

Browse files
author
stlc-bot
committed
docs(scrape): rename endpoint to Scrape Anything (#1341)
Stainless-Generated-From: e8eea3c
1 parent a954487 commit 928e7f5

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • src/context/dev/resources

‎src/context/dev/resources/web.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,10 @@ def scrape(
361361
extra_body: Body | None = None,
362362
timeout: float | httpx.Timeout | None | NotGiven = not_given,
363363
) -> WebScrapeResponse:
364-
"""Returns the outputs you enable in `formats` from one visit to a URL.
364+
"""Scrape anything from a URL on the internet.
365365
366-
Each output
367-
reports its own `success`, so a failed output does not fail the request.
366+
Returns the outputs you enable in
367+
formats. Handles PDFs, DOCX, PPT, XLSX, and 40 other file formats.
368368
369369
Args:
370370
formats: Outputs to return. Set at least one to `true`.
@@ -1759,10 +1759,10 @@ async def scrape(
17591759
extra_body: Body | None = None,
17601760
timeout: float | httpx.Timeout | None | NotGiven = not_given,
17611761
) -> WebScrapeResponse:
1762-
"""Returns the outputs you enable in `formats` from one visit to a URL.
1762+
"""Scrape anything from a URL on the internet.
17631763
1764-
Each output
1765-
reports its own `success`, so a failed output does not fail the request.
1764+
Returns the outputs you enable in
1765+
formats. Handles PDFs, DOCX, PPT, XLSX, and 40 other file formats.
17661766
17671767
Args:
17681768
formats: Outputs to return. Set at least one to `true`.

0 commit comments

Comments
 (0)