Abhaykoul commited on
Commit
1c7150a
1 Parent(s): 552722e
Files changed (1) hide show
  1. 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("POST", "https://duckduckgo.com", data={"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:
 
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: