dicio-android icon indicating copy to clipboard operation
dicio-android copied to clipboard

[Search] More search engines

Open machiav3lli opened this issue 2 years ago • 7 comments

DDG is a good start for a list of search engines. Optimally there would an option to define custom search engine, but maybe first it would help to have more options e.g. swisscows, startpage, metager..

A more refined option would be implementing a kinda metasearch engine for users to config, but maybe this would be something for the long term.

machiav3lli avatar Jan 07 '23 13:01 machiav3lli

https://github.com/Stypox/dicio-android/issues/137#issue-1523807262

Indeed, @machiav3lli. Why no mere input box exists slightly confuses me, or at least some more normal presets, such as Google.

RokeJulianLockhart avatar Jan 09 '23 13:01 RokeJulianLockhart

I already thought about this, as you can tell from the preference of the search skill, and initially also implemented Qwant, but then they closed the public API and I didn't want to build a scraper.

Stypox avatar Jan 11 '23 11:01 Stypox

I already thought about this, as you can tell from the preference of the search skill, and initially also implemented Qwant, but then they closed the public API and I didn't want to build a scraper.

@Stypox sorry, but I don't understand this answer, would be more simple for you to parse the page of each serach engine to WebView or (I will prefer) to the default Web browser app? for example for duck duck Go open a link to: https://duckduckgo.com/?t=h_&q=[searched_text_here] This will permit to implement very easily any serach engine since you have only to change the first part of the link.

I don't understand why you have choose to implement the search engine result directly in to Dicio with code, in particular since if you click a link you open the default browser app however.

paolo-caroni avatar Feb 21 '24 12:02 paolo-caroni

https://github.com/Stypox/dicio-android/issues/137#issuecomment-1378582683

@Stypox, have you considered https://github.com/searxng/searxng.git instead?

RokeJulianLockhart avatar Feb 21 '24 16:02 RokeJulianLockhart

#137 (comment)

@Stypox, have you considered searxng/searxng.git instead?

Moreover, SearxNG has a search API with JSON output, so it is easier to add. However, setting the output as JSON is disabled by default, so only a few instances support it. Example: https://search.projectsegfau.lt/search?q=dicio&format=json Additionally, with its !bangs, you can set the search engine for the request.

BrightDV avatar Feb 21 '24 16:02 BrightDV