Skip to content

Commit 41bb085

Browse files
feat(api): api update
1 parent f04cae1 commit 41bb085

2 files changed

Lines changed: 10 additions & 16 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: 20
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-1cd00999a087b24743cf3a2849c9bd0ea1ed6b5a0dac3a8f0e26c6a58d26d6bf.yml
3-
openapi_spec_hash: f95a256f049293caa5abc0912939a9ff
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-fb4ca438793aa469ccc6d74266351ce4ad23b90521c62690755940dc7758225b.yml
3+
openapi_spec_hash: caaf8fcba98e886cef121c2845ecbc57
44
config_hash: 03e2ee10b2e5ceeecc966ec55790a0cb

src/brand/dev/resources/brand.py

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1993,10 +1993,8 @@ def web_scrape_html(
19931993
extra_body: Body | None = None,
19941994
timeout: float | httpx.Timeout | None | NotGiven = not_given,
19951995
) -> BrandWebScrapeHTMLResponse:
1996-
"""Scrapes the given URL and returns the raw HTML content of the page.
1997-
1998-
Uses
1999-
automatic proxy escalation to handle blocked sites.
1996+
"""
1997+
Scrapes the given URL and returns the raw HTML content of the page.
20001998
20011999
Args:
20022000
url: Full URL to scrape (must include http:// or https:// protocol)
@@ -2076,9 +2074,8 @@ def web_scrape_md(
20762074
timeout: float | httpx.Timeout | None | NotGiven = not_given,
20772075
) -> BrandWebScrapeMdResponse:
20782076
"""
2079-
Scrapes the given URL, converts the HTML content to GitHub Flavored Markdown
2080-
(GFM), and returns the result. Uses automatic proxy escalation to handle blocked
2081-
sites.
2077+
Scrapes the given URL, converts the HTML content to Markdown, and returns the
2078+
result.
20822079
20832080
Args:
20842081
url: Full URL to scrape and convert to markdown (must include http:// or https://
@@ -4098,10 +4095,8 @@ async def web_scrape_html(
40984095
extra_body: Body | None = None,
40994096
timeout: float | httpx.Timeout | None | NotGiven = not_given,
41004097
) -> BrandWebScrapeHTMLResponse:
4101-
"""Scrapes the given URL and returns the raw HTML content of the page.
4102-
4103-
Uses
4104-
automatic proxy escalation to handle blocked sites.
4098+
"""
4099+
Scrapes the given URL and returns the raw HTML content of the page.
41054100
41064101
Args:
41074102
url: Full URL to scrape (must include http:// or https:// protocol)
@@ -4183,9 +4178,8 @@ async def web_scrape_md(
41834178
timeout: float | httpx.Timeout | None | NotGiven = not_given,
41844179
) -> BrandWebScrapeMdResponse:
41854180
"""
4186-
Scrapes the given URL, converts the HTML content to GitHub Flavored Markdown
4187-
(GFM), and returns the result. Uses automatic proxy escalation to handle blocked
4188-
sites.
4181+
Scrapes the given URL, converts the HTML content to Markdown, and returns the
4182+
result.
41894183
41904184
Args:
41914185
url: Full URL to scrape and convert to markdown (must include http:// or https://

0 commit comments

Comments
 (0)