Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
e13de96930 |
2
.env
2
.env
@ -1,2 +1,2 @@
|
|||||||
PROD_URL=searx.gmoker.com
|
PROD_URL=searx.gmoker.com
|
||||||
IMAGEAPP=docker.io/searxng/searxng:2024.12.25-73e395c8c
|
IMAGEAPP=docker.io/searxng/searxng:2024.12.22-26097f444
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -334,25 +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: alpine linux packages
|
- name: alpine linux packages
|
||||||
engine: alpinelinux
|
engine: alpinelinux
|
||||||
disabled: true
|
disabled: true
|
||||||
|
@ -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