We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac8f853 commit bf7baa5Copy full SHA for bf7baa5
jigsawstack/search.py
@@ -78,12 +78,16 @@ def search(self, params: SearchParams) -> SearchResponse:
78
ai_overview = params.get("ai_overview", "True")
79
safe_search = params.get("safe_search", "moderate")
80
spell_check = params.get("spell_check", "True")
81
+
82
+ body = {
83
+ "byo_urls": params.get("byo_urls", []),
84
+ }
85
path = f"/web/search?query={query}&ai_overview={ai_overview}&safe_search={safe_search}&spell_check={spell_check}"
86
resp = Request(
87
config=self.config,
88
path=path,
- params=cast(Dict[Any, Any], params),
- verb="GET",
89
+ params=cast(Dict[Any, Any], body),
90
+ verb="POST",
91
).perform_with_content()
92
93
return resp
0 commit comments