1
0
mirror of https://github.com/searx/searx synced 2024-11-22 01:45:21 +01:00

Merge branch 'master' into update_data_update_languages.py

This commit is contained in:
Noémi Ványi 2022-11-06 13:06:31 +01:00 committed by GitHub
commit 1dc270388c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 7515 additions and 6937 deletions

View File

@ -16,4 +16,4 @@ sphinx-jinja==2.0.2
sphinx-tabs==3.4.1 sphinx-tabs==3.4.1
sphinxcontrib-programoutput==0.17 sphinxcontrib-programoutput==0.17
sphinx-autobuild==2021.3.14 sphinx-autobuild==2021.3.14
linuxdoc==20211220 linuxdoc==20221025

View File

@ -1,5 +1,5 @@
Brotli==1.0.9 Brotli==1.0.9
babel==2.10.3 babel==2.11.0
certifi==2022.9.24 certifi==2022.9.24
flask-babel==2.0.0 flask-babel==2.0.0
flask==2.2.2 flask==2.2.2

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,13 @@
{ {
"versions": [ "versions": [
"106.0.3",
"106.0.2",
"106.0.1",
"106.0",
"105.0.3",
"105.0.2",
"105.0.1", "105.0.1",
"105.0", "105.0"
"104.0.2",
"104.0.1",
"104.0"
], ],
"os": [ "os": [
"Windows NT 10.0; WOW64", "Windows NT 10.0; WOW64",

View File

@ -214,8 +214,23 @@
"Q110742003": "dppx", "Q110742003": "dppx",
"Q1131660": "st", "Q1131660": "st",
"Q1137675": "cr", "Q1137675": "cr",
"Q114002440": "𒄀",
"Q114002534": "𒃻",
"Q114002568": "𒂠",
"Q114002639": "𒈨𒊑",
"Q114002688": "𒋗𒋛",
"Q114002734": "𒊺",
"Q114002796": "𒂆",
"Q114002897": "𒊬",
"Q114002930": "𒀺",
"Q114002955": "𒀹𒃷",
"Q114002974": "𒃷",
"Q114002998": "𒁓",
"Q114018694": "𒄥",
"Q114018781": "𒁀𒌷𒂵",
"Q1140444": "Zb", "Q1140444": "Zb",
"Q1140577": "Yb", "Q1140577": "Yb",
"Q114589269": "A",
"Q1152074": "Pb", "Q1152074": "Pb",
"Q1152323": "Tb", "Q1152323": "Tb",
"Q1165799": "mil", "Q1165799": "mil",
@ -236,12 +251,14 @@
"Q12257695": "Eb/s", "Q12257695": "Eb/s",
"Q12257696": "EB/s", "Q12257696": "EB/s",
"Q12261466": "kB/s", "Q12261466": "kB/s",
"Q12263659": "mgal",
"Q12265780": "Pb/s", "Q12265780": "Pb/s",
"Q12265783": "PB/s", "Q12265783": "PB/s",
"Q12269121": "Yb/s", "Q12269121": "Yb/s",
"Q12269122": "YB/s", "Q12269122": "YB/s",
"Q12269308": "Zb/s", "Q12269308": "Zb/s",
"Q12269309": "ZB/s", "Q12269309": "ZB/s",
"Q1238720": "vols",
"Q1247300": "cm H₂O", "Q1247300": "cm H₂O",
"Q12714022": "cwt", "Q12714022": "cwt",
"Q12789864": "GeV", "Q12789864": "GeV",
@ -255,6 +272,7 @@
"Q1322380": "Ts", "Q1322380": "Ts",
"Q1323615": "oz t", "Q1323615": "oz t",
"Q132643": "kr", "Q132643": "kr",
"Q133011": "Ls",
"Q13400897": "g", "Q13400897": "g",
"Q13479685": "mm H2O", "Q13479685": "mm H2O",
"Q1351253": "Eib", "Q1351253": "Eib",
@ -350,6 +368,7 @@
"Q194339": "B$", "Q194339": "B$",
"Q1970718": "mam", "Q1970718": "mam",
"Q1972579": "pdl", "Q1972579": "pdl",
"Q19877834": "cd-ft",
"Q199462": "LE", "Q199462": "LE",
"Q199471": "Afs", "Q199471": "Afs",
"Q200323": "dm", "Q200323": "dm",
@ -707,7 +726,6 @@
"Q56157048": "pmol", "Q56157048": "pmol",
"Q56160603": "fmol", "Q56160603": "fmol",
"Q56302633": "UM", "Q56302633": "UM",
"Q56317116": "mgal",
"Q56317622": "Q_P", "Q56317622": "Q_P",
"Q56318907": "kbar", "Q56318907": "kbar",
"Q56349362": "Bs.S", "Q56349362": "Bs.S",

View File

@ -91,8 +91,7 @@ def get_sc_code(headers):
dom = html.fromstring(resp.text) dom = html.fromstring(resp.text)
try: try:
# href --> '/?sc=adrKJMgF8xwp20' href = eval_xpath(dom, '//input[@name="sc"]')[0].get('value')
href = eval_xpath(dom, '//a[@class="footer-home__logo"]')[0].get('href')
except IndexError as exc: except IndexError as exc:
# suspend startpage API --> https://github.com/searxng/searxng/pull/695 # suspend startpage API --> https://github.com/searxng/searxng/pull/695
raise SearxEngineResponseException( raise SearxEngineResponseException(