Compare commits
No commits in common. "156770b955d564921ecdca80e05ba6a500b081e8" and "e13de96930f1b20e0997555743f06b091e075847" have entirely different histories.
156770b955
...
e13de96930
2
.env
2
.env
@ -1,2 +1,2 @@
|
||||
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":
|
||||
#
|
||||
hostnames:
|
||||
replace:
|
||||
'(.*\.)?reddit\.com$': 'old.reddit.com'
|
||||
'(.*\.)?redd\.it$': 'old.reddit.com'
|
||||
remove: 'hostnames_remove.yml'
|
||||
|
||||
checker:
|
||||
@ -331,33 +334,6 @@ engines:
|
||||
timeout: 6
|
||||
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
|
||||
engine: alpinelinux
|
||||
disabled: true
|
||||
@ -1040,11 +1016,6 @@ engines:
|
||||
timeout: 3.0
|
||||
disabled: true
|
||||
|
||||
- name: ipernity
|
||||
engine: ipernity
|
||||
shortcut: ip
|
||||
disabled: true
|
||||
|
||||
- name: jisho
|
||||
engine: jisho
|
||||
shortcut: js
|
||||
@ -1515,11 +1486,6 @@ engines:
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name: Public Domain Image Archive
|
||||
engine: public_domain_image_archive
|
||||
shortcut: pdia
|
||||
disabled: true
|
||||
|
||||
- name: pubmed
|
||||
engine: pubmed
|
||||
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