Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

[enh] Add whaleslide.com #2861

Merged
merged 2 commits into from
Aug 3, 2021
Merged

[enh] Add whaleslide.com #2861

merged 2 commits into from
Aug 3, 2021

Conversation

allendema
Copy link
Contributor

Upstream example: https://whaleslide.com/search/web/runlevels

What does this PR do?

This adds whaleslide.com as another optional engine.

Added whaleslide.com using the json_engine

The API used here is required and can be found with Developer Optiones > Network Tab

Why is this change important?

More engines to choose from.

Try different things using Python and make Searx better.

How to test this PR locally?

Do a search with:
!whale epal dimensions

Author's checklist

Related issues

Closes #1955

return42 pushed a commit to return42/searxng that referenced this pull request Jun 26, 2021
Add WhaleSlide engine [1] / merged from [2]

[1] https://whaleslide.com
[2] searx/searx#2861
engine : json_engine
paging : True
# This API Token is needed to work
search_url : https://search.whaleslide.com/api/v1/search_v2/web/{pageno}?q={query}&api_token=f8OhUDEYKUICHDnIxEgI7Cb4uYyTBqT4nO8iueNbfTO3devS24yElGqM7nCm
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this your development token? How can others acquire their own tokens? In general I am not a huge fan of hardwiring tokens into searx codebase. I would rather let instance admins get their own tokens and set it for themselves.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can others acquire their own tokens?

The API used here is required and can be found with Developer Optiones > Network Tab

No not my Token, they seem to use it everytime.

Maybe different users will get a different one but this has worked for me.
Its the same today as the one from weeks ago.

@kvch kvch merged commit 76606e7 into searx:master Aug 3, 2021
MarcAbonce pushed a commit to MarcAbonce/searx that referenced this pull request Sep 23, 2021
Upstream example: https://whaleslide.com/search/web/runlevels

Co-authored-by: Noémi Ványi <kvch@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(Request) Add whaleslide.com as a Search Engine
2 participants