summaryrefslogtreecommitdiff
path: root/searx/engines/invidious.py
AgeCommit message (Collapse)Author
2022-02-18[mod] templates: rename field for <iframe> URL to iframe_srcMarkus Heiser
Rename result field data_src to iframe_src Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#issuecomment-1037997402 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-13[mod] result_templates/videos.html: replace embedded HTML by data_srcMarkus Heiser
Embedded HTML breaks SearXNG architecture. To modularize, HTML is generated in the templates (oscar & simple) and result parameter 'embedded' is replaced by 'data_src', an URL for embedded content (<iframe>). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-04[pylint] engines/invidious.pyMarkus Heiser
Fix remarks from pylint and remove usless comments Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-04[fix] invidious engine: store random base_url in paramMarkus Heiser
Two different threads ( = two different user queries) can call the request function in a row and then the response function. The namespace will be same since this is the same engine. To keep exactly the same value ``base_url`` must be stored in params and then retrieve using ``resp.search_params["base_url"]``. Suggested-by: @dalf https://github.com/searxng/searxng/pull/862#discussion_r799324861 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-27[format.python] initial formatting of the python codeMarkus Heiser
This patch was generated by black [1]:: make format.python [1] https://github.com/psf/black Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-04[fix] Update about section of InvidiousAllen
Another website and new documentation
2021-02-01[mod] dynamically set language_support variableAlexandre Flament
The language_support variable is set to True by default, and set to False in only 5 engines. Except the documentation and the /config URL, this variable is not used. This commit remove the variable definition in the engines, and set value according to supported_languages length: False when the length is 0, True otherwise. Close #2485
2021-01-16Merge pull request #2451 from mrwormo/invidious-engineAlexandre Flament
[Fix] Invidious Engine
2021-01-14[enh] engines: add about variableAlexandre Flament
move meta information from comment to the about variable so the preferences, the documentation can show these information
2021-01-14[fix] Invidious engine by enabling requests by randomly picking amongst ↵mrwormo
working instances
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2020-08-02include length in invidious resultsMichael Ilsaas
2020-08-02include author in invidious resultsMichael Ilsaas
2019-08-02[enh] add invidious engine. (#1657)cy8aer
closes #1372