Limnoria icon indicating copy to clipboard operation
Limnoria copied to clipboard

Searx plugin to replace Google? (FOSS, has API & outputs JSON)

Open Mikaela opened this issue 9 years ago • 12 comments
trafficstars

This is possibly a wrong place for plugin suggestion, but here it will at least be seen.

As Google has closed their API again, why to not use some more private search engine or meta search engine that is also FOSS and anyone can host their own instance?

I don't know how good this API documentation is https://asciimoo.github.io/searx/dev/search_api.html , but it alows you to get search results in csv/json/rss e.g. https://searx.me/?q=Limnoria&format=json so I imagine it should be possible to get search results out of it in Python (isn't json popular enough).

I have been using Searx.me as my primary search engine for months without issues. I moved there after being suggested it somewhere from DuckDuckGo where if I wanted to get good results out, I had to !g to get to Google to find anything.

Mikaela avatar May 05 '16 06:05 Mikaela

That would most likely go to a third-party plugin repo

progval avatar May 05 '16 06:05 progval

From what I and @ProgVal discussed earlier it might be beneficial to have a common search API for Limnoria within utils, so plugins wanting search functionality can use whatever search-providing plugin loaded. A possible return result for each search provider could be search(query) => [{'link': link, 'title': title, 'content': content, …}, …]

A searx plugin probably wouldn't be that hard to implement, if there's reasonable demand for it :)

jlu5 avatar May 06 '16 23:05 jlu5

(AutoTrans does not use search)

progval avatar May 07 '16 06:05 progval

I was emailed about https://github.com/horstderheld/limnoria-searx (thanks!), but I think it should be in core (or similar plugin), so I am leaving this open. Feel free to do whatever you think is the best.

Mikaela avatar May 19 '16 18:05 Mikaela

hi! i noticed that google search api changed: The Google Web Search API is no longer available. Please migrate to the Google Custom Search API (https://developers.google.com/custom-search/) and the IMDb has changed too: Google search didnt work, returned status 403 any ideas? is there any other updated plugin for this in limnoria? i recently did a git pull and nothing changed Best regards

asterismo avatar Jun 01 '16 23:06 asterismo

@asterismo You have to rebuild & restart the bot after updating the source: e.g. pythonX setup.py install, where X is the Python version of your preference (2 or 3)

jlu5 avatar Jun 02 '16 02:06 jlu5

yeah, just upgraded via pip and now it is working. pip3 breaks wikipedia plugin so i only installed limnoria using pip, i was just about to comment

asterismo avatar Jun 02 '16 02:06 asterismo

Which wikipedia plugin out of curiosity?

jlu5 avatar Jun 02 '16 13:06 jlu5

Please don't use the Google plugin in Limnoria. It's only a temporary solution so people can find other plugins.

progval avatar Jun 02 '16 16:06 progval

So what is the google plugin replacement?

weedy avatar Oct 24 '16 08:10 weedy

I have been using https://github.com/horstderheld/limnoria-searx

Mikaela avatar Oct 24 '16 08:10 Mikaela

fyi, we added @jlu5 's DDG plugin in Limnoria a few months ago

progval avatar Sep 05 '20 14:09 progval