nfriedly / DuckDuckGo-GoogleSuggest

Node JS server that proxies google suggest queries for the Duck Duck Go search box, and adds the !'s back on when google removes them.
http://ddgg.nfriedly.com
40 stars 8 forks source link

Support for other search engines #3

Open p-avital opened 6 years ago

p-avital commented 6 years ago

As much as I love ddg, its results for French queries tend to be very poor. Do you think support for Qwant could be added ? I'm willing to do it, but I don't have much free time, so if you could point me to some places in the code that may be relevant, that would help a lot :)

nfriedly commented 6 years ago

Yea, it shouldn't be too hard. The main files are the xml files in public/ - this is the basic one: https://github.com/nfriedly/DuckDuckGo-GoogleSuggest/blob/master/public/ddg-google.xml, just edit the urls as appropriate.

You can see the complete specification at http://www.opensearch.org/Specifications/OpenSearch/1.1/Draft_5

p-avital commented 6 years ago

I managed to do that, but failed to install it on Firefox :(