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

added date in default search results wherever available #108

Closed shashankdeshpande closed 10 months ago

shashankdeshpande commented 11 months ago
shashankdeshpande commented 11 months ago

Please check @deedy5

deedy5 commented 11 months ago

The 'e' parameter is very rare in the results.

shashankdeshpande commented 11 months ago

@deedy5 Yeah, it will be available in the case of articles as a part of search results. I believe it could be a beneficial inclusion for certain use cases.

shashankdeshpande commented 10 months ago

@deedy5 What are your thoughts on this? Don’t you think it’s good to have this addition?

deedy5 commented 10 months ago

If adding "date", it would be a good idea to modify Readme.md and cli.py as well, and to add docstrings to duckduckgo_search.py But the "e" parameter is very rare, meaning it will almost always be "date": None. So I think it makes no sense to add "date".