Skip to content

Commit 085f227

Browse files
author
stlc-bot
committed
seal
1 parent 64b95b1 commit 085f227

6 files changed

Lines changed: 21 additions & 6 deletions

File tree

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.17.0"
2+
".": "2.18.0"
33
}

‎CHANGELOG.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [2.18.0](https://github.com/context-dot-dev/context-python-sdk/compare/v2.17.0...v2.18.0) (2026-09-18)
4+
5+
6+
### Features
7+
8+
* **api:** enable ZDR on remaining AI endpoints via OpenAI ([#1099](https://github.com/context-dot-dev/context-python-sdk/issues/1099)) ([0dcc693](https://github.com/context-dot-dev/context-python-sdk/commit/0dcc6937508fc0307c41e7d4b0b088d9adb96feb))
9+
* **products:** extract ProductGroup variants with images ([#1124](https://github.com/context-dot-dev/context-python-sdk/issues/1124)) ([2fdcf25](https://github.com/context-dot-dev/context-python-sdk/commit/2fdcf259a99b97d1f4a64c19f20594fa23324208))
10+
* **scrape:** add CSS extraction rules to HTML scraping ([#1146](https://github.com/context-dot-dev/context-python-sdk/issues/1146)) ([53fa41c](https://github.com/context-dot-dev/context-python-sdk/commit/53fa41c8209fba265ed7fdc292ce6dabdd72c3e1))
11+
* **web:** add URL-based scrape screenshot endpoint ([#1150](https://github.com/context-dot-dev/context-python-sdk/issues/1150)) ([25975e2](https://github.com/context-dot-dev/context-python-sdk/commit/25975e2d0b490c3ca94b957448826897458881a3))
12+
13+
14+
### Bug Fixes
15+
16+
* **api:** lower partial scrape timeout minimum to five seconds ([#1118](https://github.com/context-dot-dev/context-python-sdk/issues/1118)) ([c8c4975](https://github.com/context-dot-dev/context-python-sdk/commit/c8c49750ea15c1941149fbc401a432aa3fd5084b))
17+
318
## [2.17.0](https://github.com/context-dot-dev/context-python-sdk/compare/v2.16.0...v2.17.0) (2026-09-15)
419

520

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "context.dev"
3-
version = "2.17.0"
3+
version = "2.18.0"
44
description = "The official Python library for the context.dev API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

‎src/context/dev/_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "context.dev"
4-
__version__ = "2.17.0" # x-release-please-version
4+
__version__ = "2.18.0" # x-release-please-version

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2519,7 +2519,7 @@ def web_scrape_md(
25192519
| 200 | Yes — 1 credit, or 2 credits with actions | Successful scrape, including a zero-length result when includeSelectors matched nothing. A partial result (`finalDOMState: "still-loading"`, only with timeoutOpts.behavior=return-partial) is billed at the base 1 credit with no OCR or actions surcharge |
25202520
| 400 | No | Invalid input, skipped PDF, or the page could not be scraped. error_code WEBSITE_BLOCKED specifically means the site answered with an anti-bot challenge, CAPTCHA wall, or login shell instead of the page (even when the site returned HTTP 200) — retrying later or from another country sometimes succeeds |
25212521
| 401 / 403 | No | Invalid/disabled key, insufficient permissions, or credits exhausted; inspect error_code |
2522-
| 404 | No | Target page returned or fingerprinted as not found |
2522+
| 404 | Yes — 1 credit, or 2 credits with actions | Target page returned or fingerprinted as not found |
25232523
| 408 | No | Request timed out. With timeoutOpts.behavior=return-partial this only happens when nothing usable had rendered by the deadline |
25242524
| 413 | No | Target content exceeds the maximum supported size (20 MB) |
25252525
| 415 | No | Unsupported content type |
@@ -5530,7 +5530,7 @@ async def web_scrape_md(
55305530
| 200 | Yes — 1 credit, or 2 credits with actions | Successful scrape, including a zero-length result when includeSelectors matched nothing. A partial result (`finalDOMState: "still-loading"`, only with timeoutOpts.behavior=return-partial) is billed at the base 1 credit with no OCR or actions surcharge |
55315531
| 400 | No | Invalid input, skipped PDF, or the page could not be scraped. error_code WEBSITE_BLOCKED specifically means the site answered with an anti-bot challenge, CAPTCHA wall, or login shell instead of the page (even when the site returned HTTP 200) — retrying later or from another country sometimes succeeds |
55325532
| 401 / 403 | No | Invalid/disabled key, insufficient permissions, or credits exhausted; inspect error_code |
5533-
| 404 | No | Target page returned or fingerprinted as not found |
5533+
| 404 | Yes — 1 credit, or 2 credits with actions | Target page returned or fingerprinted as not found |
55345534
| 408 | No | Request timed out. With timeoutOpts.behavior=return-partial this only happens when nothing usable had rendered by the deadline |
55355535
| 413 | No | Target content exceeds the maximum supported size (20 MB) |
55365536
| 415 | No | Unsupported content type |

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)