hyperbrowser 0.35.0__py3-none-any.whl → 0.36.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of hyperbrowser might be problematic. Click here for more details.

@@ -8,23 +8,22 @@ def get_scrape_options(formats: List[scrape_types] = ["markdown"]):
8
8
  "type": "object",
9
9
  "description": "The options for the scrape",
10
10
  "properties": {
11
- "format": {
12
- "type": "string",
13
- "description": "The format of the content to scrape",
14
- "enum": formats,
15
- },
16
- "include_tags": {
11
+ "formats": {
17
12
  "type": "array",
13
+ "description": "The format of the content to scrape",
18
14
  "items": {
19
15
  "type": "string",
16
+ "enum": formats,
20
17
  },
18
+ },
19
+ "include_tags": {
20
+ "type": "array",
21
+ "items": {"type": "string"},
21
22
  "description": "An array of HTML tags, classes, or IDs to include in the scraped content. Only elements matching these selectors will be returned.",
22
23
  },
23
24
  "exclude_tags": {
24
25
  "type": "array",
25
- "items": {
26
- "type": "string",
27
- },
26
+ "items": {"type": "string"},
28
27
  "description": "An array of HTML tags, classes, or IDs to exclude from the scraped content. Elements matching these selectors will be omitted from the response.",
29
28
  },
30
29
  "only_main_content": {
@@ -32,7 +31,12 @@ def get_scrape_options(formats: List[scrape_types] = ["markdown"]):
32
31
  "description": "Whether to only return the main content of the page. If true, only the main content of the page will be returned, excluding any headers, navigation menus,footers, or other non-main content.",
33
32
  },
34
33
  },
35
- "required": ["include_tags", "exclude_tags", "only_main_content", "format"],
34
+ "required": [
35
+ "include_tags",
36
+ "exclude_tags",
37
+ "only_main_content",
38
+ "formats",
39
+ ],
36
40
  "additionalProperties": False,
37
41
  }
38
42
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: hyperbrowser
3
- Version: 0.35.0
3
+ Version: 0.36.0
4
4
  Summary: Python SDK for hyperbrowser
5
5
  License: MIT
6
6
  Author: Nikhil Shahi
@@ -32,11 +32,11 @@ hyperbrowser/models/session.py,sha256=i1NkrQWNlKziDd98ySdrUUH7XSv6qOa2cmiK5vV7Ve
32
32
  hyperbrowser/tools/__init__.py,sha256=L-2xveBbSuIBQBQhJmXGCLNYEUq_XHDdgz_gBAsmQZo,4605
33
33
  hyperbrowser/tools/anthropic.py,sha256=bo8jn2ROHCp_hpX1_cjkCk7qU0LmuBr_gvlvM0f5OMc,2699
34
34
  hyperbrowser/tools/openai.py,sha256=YkdONf2CYuuJei2019a5cpCcZGn8g5bH-PnZ4YY7c4U,3514
35
- hyperbrowser/tools/schema.py,sha256=mRaPmDncJt7j84kz9ssNZdbjRDDjKVM6wL3sXz_83gE,7197
35
+ hyperbrowser/tools/schema.py,sha256=YFUAoQjx_SpjezS3UQdTCCn4xMdN3CgEeKAlulkIATc,7267
36
36
  hyperbrowser/transport/async_transport.py,sha256=6HKoeM5TutIqraEscEWobvSPWF3iVKh2hPflGNKwykw,4128
37
37
  hyperbrowser/transport/base.py,sha256=ildpMrDiM8nvrSGrH2LTOafmB17T7PQB_NQ1ODA378U,1703
38
38
  hyperbrowser/transport/sync.py,sha256=aUVpxWF8sqSycLNKxVNEZvlsZSoqc1eHgPK1Y1QA1u8,3422
39
- hyperbrowser-0.35.0.dist-info/LICENSE,sha256=6rUGKlyKb_1ZAH7h7YITYAAUNFN3MNGGKCyfrw49NLE,1071
40
- hyperbrowser-0.35.0.dist-info/METADATA,sha256=_cCONtcpaLWQmn1tyaGEeoYd0bxWz12az58hF9eJbcY,3471
41
- hyperbrowser-0.35.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
42
- hyperbrowser-0.35.0.dist-info/RECORD,,
39
+ hyperbrowser-0.36.0.dist-info/LICENSE,sha256=6rUGKlyKb_1ZAH7h7YITYAAUNFN3MNGGKCyfrw49NLE,1071
40
+ hyperbrowser-0.36.0.dist-info/METADATA,sha256=ptwPkm7aTjw5SseTuXHM6d_kqOj7R8AN4q2hKWcu1fE,3471
41
+ hyperbrowser-0.36.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
42
+ hyperbrowser-0.36.0.dist-info/RECORD,,