MCPcopy Create free account

hub / github.com/searxng/searxng / functions

Functions3,696 in github.com/searxng/searxng

↓ 1,183 callersMethodget
(self, key: str, default: t.Any = None)
searx/enginelib/__init__.py:176
↓ 363 callersFunctionextract_text
Extract text from a lxml result - If ``xpath_results`` is a list of :py:obj:`ElementType` objects, extract the text from each result and co
searx/utils.py:213
↓ 272 callersMethodpush
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 262 callersFunctioneval_xpath
Equivalent of ``element.xpath(xpath_str)`` but compile ``xpath_str`` into a :py:obj:`lxml.etree.XPath` object once for all. The return value of
searx/utils.py:538
↓ 234 callersMethodadd
(self, value: int, *args: str)
searx/metrics/models.py:149
↓ 193 callersMethodreplace
(e,t)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:6
↓ 177 callersMethodget
Return *value* of *key*. If key is unset, ``None`` is returned.
searx/cache.py:159
↓ 126 callersFunctioneval_xpath_list
Same as :py:obj:`searx.utils.eval_xpath`, but additionally ensures the return value is a :py:obj:`list`. The minimum length of the list is also
searx/utils.py:566
↓ 112 callersFunctionhtml_to_text
Extract text from a HTML string Args: * html_str (str): string HTML Returns: * str: extracted text Examples: >>
searx/utils.py:149
↓ 99 callersFunctioneval_xpath_getindex
Same as :py:obj:`searx.utils.eval_xpath_list`, but returns item on position ``index`` from the list (index starts with ``0``). The exceptions
searx/utils.py:579
↓ 99 callersMethodmap
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 93 callersMethodparse
Parse ``data`` and store the result at ``self.value`` If needed, its overwritten in the inheritance.
searx/preferences.py:57
↓ 86 callersMethoderror
(self, message: str)
searx/utils.py:143
↓ 72 callersMethodkeys
()
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 70 callersFunctionget_setting
Returns the value to which ``name`` point. If there is no such name in the settings and the ``default`` is unset, a :py:obj:`KeyError` is raised.
searx/__init__.py:81
↓ 65 callersMethodchanged
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 63 callersMethodtoString
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 62 callersFunctione
()
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 62 callersFunctiont
()
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 61 callersFunctionE
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 59 callersMethodget_value
Returns the value of the setting If needed, its overwritten in the inheritance.
searx/preferences.py:64
↓ 56 callersMethodget
(url: str, **kwargs: t.Any)
searx/network/__init__.py:145
↓ 53 callersFunctionget
(url: str, **kwargs: t.Any)
searx/network/__init__.py:173
↓ 51 callersMethoddispatchEvent
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 51 callersMethodupdate
Update this configuration by ``upd_cfg``.
searx/botdetection/config.py:120
↓ 50 callersMethodcompile
()
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 49 callersFunctionn
(r)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 48 callersFunctionD
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 47 callersFunctionX
(...e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:6
↓ 47 callersMethodgetExtent
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 45 callersFunctiona
(e,t,n,r,i)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 44 callersMethodforEach
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 44 callersMethodremove
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 41 callersFunctionJ
(e,t)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:6
↓ 41 callersMethodaddEventListener
(e,t)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 41 callersFunctioni
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 39 callersFunctionr
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 37 callersFunctionA
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 37 callersMethodexecute
(e,t,n,r,i,a)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:6
↓ 37 callersMethodpop
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 37 callersMethodset
(e,t,n)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 36 callersMethodget
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 36 callersMethodget
Returns the value to which ``name`` points in the configuration. If there is no such ``name`` in the config and the ``default`` is :p
searx/botdetection/config.py:129
↓ 34 callersFunctionH
(e,t)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 32 callersFunctionD
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 32 callersMethodgetView
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:3
↓ 32 callersFunctionk
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 32 callersFunctionlisten
( type: string | K, target: string | Document | E, listener: (this: E, event: DocumentEventMap[K]) => vo
client/simple/src/js/toolkit.ts:89
↓ 31 callersFunctionY
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:6
↓ 31 callersMethodgetFlatCoordinates
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 31 callersFunctionj
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 31 callersMethodtoTex
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 30 callersFunctionF
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 30 callersFunctionK
(e,t,n,r)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 30 callersFunctionM
(e,t)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 30 callersMethodpreventDefault
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 29 callersFunctionY
(e,t,n,r)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 29 callersMethodgetRevision
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 29 callersMethodset
(self, key: str, value: t.Any, expire: int | None = None)
searx/enginelib/__init__.py:168
↓ 28 callersFunctiont
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 27 callersMethodsearch
(self)
searx/search/__init__.py:174
↓ 26 callersFunctionr
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 25 callersFunctionU
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 25 callersFunctionextr
Extract the string between ``begin`` and ``end`` from ``txt`` :param txt: String to search in :param begin: First string to be searched
searx/utils.py:387
↓ 25 callersMethodgetResolution
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:6
↓ 25 callersMethodresponse
Method to parse the response of an ``online`` engine.
searx/enginelib/__init__.py:414
↓ 25 callersMethodtoHTML
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 24 callersFunctionI
(e,t,n)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 24 callersMethodget
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 24 callersFunctionh
(e,t)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 23 callersFunctionL
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 23 callersMethodgetFullQuery
get full query including whitespaces
searx/query.py:326
↓ 23 callersMethodgetIdentifier
()
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 23 callersMethodgetLayer
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:6
↓ 23 callersMethodgetProjection
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:3
↓ 23 callersMethodgetState
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 23 callersFunctionw
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 22 callersMethodpost
(url: str, **kwargs: t.Any)
searx/network/__init__.py:157
↓ 21 callersMethodclone
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 21 callersMethodclose
(self)
searx/results.py:183
↓ 21 callersMethodgetRotation
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:6
↓ 21 callersMethodhas
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 21 callersMethodsave
Save cookie ``name`` in the HTTP response object If needed, its overwritten in the inheritance.
searx/preferences.py:71
↓ 20 callersFunctionB
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 20 callersFunctionV
(e,t,n,r)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 20 callersMethod_ifNode
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 20 callersFunctiona
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 20 callersMethodgetStride
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 20 callersMethodgetText
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:3
↓ 19 callersMethodcontains
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:6
↓ 19 callersFunctiongen_useragent
Return a random browser User Agent See searx/data/useragents.json
searx/utils.py:74
↓ 19 callersFunctiono
(e)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:1
↓ 19 callersFunctions
(e)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 18 callersFunctionR
(e,t)
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 18 callersFunctionZ
(e,t)
searx/static/themes/simple/chunk/CTP0QVHn.min.js:14
↓ 18 callersFunctionadd_label
(name: str)
searx/engines/wikidata.py:683
↓ 18 callersFunctionget
(*args, **kwargs)
searx/autocomplete.py:35
↓ 18 callersMethodgetImage
()
searx/static/themes/simple/chunk/U6YV4Y8e.min.js:1
↓ 18 callersMethodget_region
Return engine's region string that best fits to SearXNG's locale. :param searxng_locale: SearXNG's internal representation of locale
searx/enginelib/traits.py:103
↓ 18 callersFunctionjs_obj_str_to_python
Convert a javascript variable into JSON and then load the value It does not deal with all cases, but it is good enough for now. chompjs has a
searx/utils.py:689
next →1–100 of 3,696, ranked by callers