deedy5 / duckduckgo_search

Search for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine. Downloading files and images to a local hard drive.
MIT License
932 stars 117 forks source link

Answers() doesnt works at all! #115

Closed OnlinePage closed 10 months ago

OnlinePage commented 10 months ago

Describe the bug What the bug is. The answers() doesn't works at all for any query😔!

Debug log

answer_query = "france capital"
answers_results = list(ddgs.answers(answer_query))
print(answers_results)

Output:

<Response [200 OK]>
[]

Specify this information

deedy5 commented 10 months ago

answers doesn't respond to all requests.

You can check it in your browser, it's the box to the right of the results.

For example, the query "France" shows the wikipedia article "France, officially the French Republic, is a ...".

The query "france capital" shows nothing.

So that's normal. It may be better to use a normal text search.

OnlinePage commented 10 months ago

answers doesn't respond to all requests.

You can check it in your browser, it's the box to the right of the results.

For example, the query "France" shows the wikipedia article "France, officially the French Republic, is a ...".

The query "france capital" shows nothing.

So that's normal. It may be better to use a normal text search.

Ya true , I noticed that , the quick answer is sometimes not good 👍 thanks