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
927 stars 117 forks source link

How to get French result? #219

Closed LeMoussel closed 1 month ago

LeMoussel commented 1 month ago

Hi,

from duckduckgo_search import DDGS

if __name__ == "__main__":
    results = DDGS().text(
        backend='html',
        keywords='Macron',
        region='fr-fr',
        max_results=30
    )
    print(results)

The result is always in English, even if backend is 'api' or 'lite', I do not know why...

How can I get french result ?

thx.

deedy5 commented 1 month ago

Hi. Thanks for finding the problem. Fixed in v6.1.1