CloudBotIRC / CloudBot

CloudBot - The simple, fast, expandable, open-source Python IRC Bot!
GNU General Public License v3.0
273 stars 250 forks source link

DuckDuckGo Search #275

Open stateisbad opened 7 years ago

stateisbad commented 7 years ago

Hello,

It would be quite nice if there was a DuckDuckGo plugin. The search engine is becoming increasingly popular, and some of the other Python-based IRC bots have DDG plugins that seem to be working pretty nicely. It'd be great to see DDG work with CloudBot, too.

Chew commented 7 years ago

There's a .lmddgtfy which is basically a let me google that for you. https://lmddgtfy.net/ - It provides this link in .help lmddgtfy I'm sure the suggestion is a direct search result, so if it is, great suggestion, otherwise there's already a "way" to search via DDG.

Phoenix616 commented 7 years ago

Well DDG doesn't provide an (official) API to get their search results so lmddgtfy is the only "proper" way of showing someone DDG results. Imo a .ddg command (or alternatively .ddgia) should use their Instant Answer API to directly display the answer to the searched question.

platipo commented 5 years ago

Well DDG doesn't provide an (official) API to get their search results so lmddgtfy is the only "proper" way of showing someone DDG results.

Actually a simple DDG API exists at https://api.duckduckgo.com/api, you can query it with https://api.duckduckgo.com/?q=QUERY&format=json

ravitejasssihl commented 2 years ago

Hello, Am Ravi,as part of a collage assignment am interested in solving this issue.For which I need your approval and guidance.Can you accept me as a contributer?

platipo commented 1 year ago

Hi Ravi, unfortunately I think this repository is not actively maintained anymore as the last commit dates to 2018 and there are many open PRs ready to be merged. If you are interested in contributing in open source projects, you will find https://github.com/timofurrer/maya/issues/197 of your interest.

On 7 Sep 2022, at 14:49, Josyula Ravi Teja @.***> wrote:

 Hello, Am Ravi,as part of a collage assignment am interested in solving this issue.For which I need your approval and guidance.Can you accept me as a contributer?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.