Skip to content

Commit

Permalink
Update duckduckgo_search.py
Browse files Browse the repository at this point in the history
  • Loading branch information
deedy5 authored May 30, 2023
1 parent e4c4252 commit 6b0f9e2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions duckduckgo_search/duckduckgo_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,9 +685,7 @@ def suggestions(
"q": keywords,
"kl": region,
}
resp = self._get_url(
"GET", "https://duckduckgo.com/ac", params=payload, follow_redirects=True
)
resp = self._get_url("GET", "https://duckduckgo.com/ac", params=payload)
if resp is None:
return None
try:
Expand Down

0 comments on commit 6b0f9e2

Please sign in to comment.