Skip to content

Commit 786da72

Browse files
authored
Merge pull request #34 from JigsawStack/feat/ai-scrape-params
Feat/ai scrape params
2 parents b857966 + d7a48ad commit 786da72

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

jigsawstack/web.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ class ScrapeResponse(TypedDict):
113113
data: Any
114114

115115

116+
class LinkParams(TypedDict):
117+
text: str
118+
href: str
119+
120+
116121
class AIScrapeResponse(TypedDict):
117122
success: bool
118123
"""
@@ -123,6 +128,7 @@ class AIScrapeResponse(TypedDict):
123128
page_position_length: int
124129
page_position: int
125130
selectors: object
131+
link: List[LinkParams]
126132

127133

128134
class Web(ClientConfig):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="jigsawstack",
9-
version="0.1.27",
9+
version="0.1.28",
1010
description="JigsawStack Python SDK",
1111
long_description=open("README.md", encoding="utf8").read(),
1212
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)