Closed tybantarnusa closed 10 months ago
The error occurs because the parameter safesearch='Off' is capitalized, you need safesearch='off'.
There was an error in the Readme. Please correct it to be like this:
from duckduckgo_search import DDGS
q = input('Search: ')
with DDGS() as ddgs:
for r in ddgs.text(q, region='wt-wt', safesearch='off', timelimit='y', backend='lite'):
print(r)
Describe the bug
I got this generic HTTPError using text() following exactly the code like in the example here.
This is the code:
Information