Compare commits

..

No commits in common. "db0a6ca79dd9cb3b9c855c42d57a205338b34062" and "98070e11a642988ec2e152eb1a8188cb6fdee477" have entirely different histories.

2 changed files with 2 additions and 34 deletions

View File

@ -52,7 +52,8 @@ in
libreoffice libreoffice
protonmail-bridge protonmail-bridge
pass pass
protonvpn-cli_2 protonvpn-cli
protonvpn-gui
thunderbird thunderbird
tidal-hifi tidal-hifi
signal-desktop signal-desktop
@ -160,7 +161,6 @@ in
lspcfg.typst_lsp.setup({ lspcfg.typst_lsp.setup({
cmd = { '${pkgs.typst-lsp}/bin/typst-lsp' }, cmd = { '${pkgs.typst-lsp}/bin/typst-lsp' },
}) })
lspcfg.rust_analyzer.setup({})
lspcfg.hls.setup({ lspcfg.hls.setup({
cmd = { '${hls_wrapper}', 'lsp' }, cmd = { '${hls_wrapper}', 'lsp' },
}) })

View File

@ -1,32 +0,0 @@
from bs4 import BeautifulSoup
baseurl = "https://ncatlab.org"
about = {
"website": baseurl + "/nlab/show/HomePage",
"use_official_api": False,
"require_api_key": False,
"results": "html"
}
# basic search
def request(query, params):
params["url"] = baseurl + f"/nlab/search?query={query}"
return params
def response(resp):
res = []
soup = BeautifulSoup(resp.content)
for entry in soup.select("#Content ul li a"):
url = baseurl + entry["href"]
title = entry.string
res_dict = {
"url": url,
"title": title,
}
res.append(res_dict)
return res