Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic.py: use .../config URL to check searx version. #33

Closed
dalf opened this issue Mar 26, 2020 · 0 comments · Fixed by #48
Closed

basic.py: use .../config URL to check searx version. #33

dalf opened this issue Mar 26, 2020 · 0 comments · Fixed by #48

Comments

@dalf
Copy link
Member

dalf commented Mar 26, 2020

Currently the project checks if an URL is searx instance using this regex:
https://github.com/dalf/searx-stats2/blob/634c30527e1c31dd25558780873408898b33ef16/searxstats/fetcher/basic.py#L15

Some people wants to customize this string, in this case the instance will appear in the "Error" tab (Searx instance not found).

It would be better to check the .../config URL.

Related to https://github.com/dalf/searx-stats2/issues/29#issuecomment-604428693

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant