Spaces:
Running
Running
fix
Browse files- webscout.py +1 -1
webscout.py
CHANGED
@@ -239,7 +239,7 @@ class WEBS:
|
|
239 |
|
240 |
def _get_vqd(self, keywords: str) -> str:
|
241 |
"""Get vqd value for a search query."""
|
242 |
-
resp_content = self._get_url("
|
243 |
return _extract_vqd(resp_content, keywords)
|
244 |
|
245 |
def chat(self, keywords: str, model: str = "gpt-4o-mini", timeout: int = 30) -> str:
|
|
|
239 |
|
240 |
def _get_vqd(self, keywords: str) -> str:
|
241 |
"""Get vqd value for a search query."""
|
242 |
+
resp_content = self._get_url("GET", "https://duckduckgo.com", params={"q": keywords})
|
243 |
return _extract_vqd(resp_content, keywords)
|
244 |
|
245 |
def chat(self, keywords: str, model: str = "gpt-4o-mini", timeout: int = 30) -> str:
|