Compare commits
No commits in common. "260f3c80abd0c2dd4c94280c14a7dc1d96d2f173" and "c6dfd5c5ce068be5a3423c5b9864d489269ec371" have entirely different histories.
260f3c80ab
...
c6dfd5c5ce
2
.env
2
.env
@ -1,2 +1,2 @@
|
|||||||
PROD_URL=searx.gmoker.com
|
PROD_URL=searx.gmoker.com
|
||||||
IMAGEAPP=docker.io/searxng/searxng:2025.1.25-176079977
|
IMAGEAPP=docker.io/searxng/searxng:2024.12.22-26097f444
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -237,6 +237,9 @@ enabled_plugins:
|
|||||||
# Configuration of the "Hostnames plugin":
|
# Configuration of the "Hostnames plugin":
|
||||||
#
|
#
|
||||||
hostnames:
|
hostnames:
|
||||||
|
replace:
|
||||||
|
'(.*\.)?reddit\.com$': 'old.reddit.com'
|
||||||
|
'(.*\.)?redd\.it$': 'old.reddit.com'
|
||||||
remove: 'hostnames_remove.yml'
|
remove: 'hostnames_remove.yml'
|
||||||
|
|
||||||
checker:
|
checker:
|
||||||
@ -331,33 +334,6 @@ engines:
|
|||||||
timeout: 6
|
timeout: 6
|
||||||
disabled: true
|
disabled: true
|
||||||
|
|
||||||
- name: alexandria
|
|
||||||
engine: json_engine
|
|
||||||
shortcut: alx
|
|
||||||
categories: general
|
|
||||||
paging: true
|
|
||||||
search_url: https://api.alexandria.org/?a=1&q={query}&p={pageno}
|
|
||||||
results_query: results
|
|
||||||
title_query: title
|
|
||||||
url_query: url
|
|
||||||
content_query: snippet
|
|
||||||
timeout: 1.5
|
|
||||||
disabled: true
|
|
||||||
about:
|
|
||||||
website: https://alexandria.org/
|
|
||||||
official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
|
|
||||||
use_official_api: true
|
|
||||||
require_api_key: false
|
|
||||||
results: JSON
|
|
||||||
|
|
||||||
# - name: astrophysics data system
|
|
||||||
# engine: astrophysics_data_system
|
|
||||||
# sort: asc
|
|
||||||
# weight: 5
|
|
||||||
# categories: [science]
|
|
||||||
# api_key: your-new-key
|
|
||||||
# shortcut: ads
|
|
||||||
|
|
||||||
- name: alpine linux packages
|
- name: alpine linux packages
|
||||||
engine: alpinelinux
|
engine: alpinelinux
|
||||||
disabled: true
|
disabled: true
|
||||||
@ -1040,11 +1016,6 @@ engines:
|
|||||||
timeout: 3.0
|
timeout: 3.0
|
||||||
disabled: true
|
disabled: true
|
||||||
|
|
||||||
- name: ipernity
|
|
||||||
engine: ipernity
|
|
||||||
shortcut: ip
|
|
||||||
disabled: true
|
|
||||||
|
|
||||||
- name: jisho
|
- name: jisho
|
||||||
engine: jisho
|
engine: jisho
|
||||||
shortcut: js
|
shortcut: js
|
||||||
@ -1515,11 +1486,6 @@ engines:
|
|||||||
require_api_key: false
|
require_api_key: false
|
||||||
results: HTML
|
results: HTML
|
||||||
|
|
||||||
- name: Public Domain Image Archive
|
|
||||||
engine: public_domain_image_archive
|
|
||||||
shortcut: pdia
|
|
||||||
disabled: true
|
|
||||||
|
|
||||||
- name: pubmed
|
- name: pubmed
|
||||||
engine: pubmed
|
engine: pubmed
|
||||||
shortcut: pub
|
shortcut: pub
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import urllib.request as request
|
|
||||||
import re
|
|
||||||
|
|
||||||
HOSTS = "https://someonewhocares.org/hosts/zero/hosts"
|
|
||||||
OUTPUT = "config/hostnames_remove.yml"
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
|
||||||
with request.urlopen(HOSTS) as i:
|
|
||||||
with open(OUTPUT, "w+") as o:
|
|
||||||
print(
|
|
||||||
*sorted(
|
|
||||||
[
|
|
||||||
rf"- '(.*\.)?{re.escape(l.split()[1])}$'"
|
|
||||||
for l in i.read().decode("utf-8").split("\n")
|
|
||||||
if l.startswith("0")
|
|
||||||
]
|
|
||||||
),
|
|
||||||
sep="\n",
|
|
||||||
file=o,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
main()
|
|
Loading…
Reference in New Issue
Block a user