diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-10-02 23:52:11 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2023-03-24 10:37:42 +0100 |
commit | a7fe22770a830cafa4d74a7d5e6ae848c18a9f75 (patch) | |
tree | c9200b2253c4bfac9c651fc47880ea38d0fff677 /docs/src | |
parent | 6e5f22e5583cfc2a413e0afac66d3c5ea9f628b1 (diff) | |
download | searxng-a7fe22770a830cafa4d74a7d5e6ae848c18a9f75.tar.gz searxng-a7fe22770a830cafa4d74a7d5e6ae848c18a9f75.zip |
[mod] Peertube: re-engineered & upgrade to data_type: traits_v1
- fetch_traits(): Fetch languages from peertube's search-index source code.
[mod] Include migration of the request methode from 'supported_languages'
to 'traits' (EngineTraits) object.
[fix] old supported_languages_url is no longer valid since the sources
has been moved to a different path.
- fixed code to pass pylint
- request(): complete re-implementation based on the API docs [1]
- response(): complete re-implementation, adds serveral fields missed before
- add source code documentation
[1] https://docs.joinpeertube.org/api-rest-reference.html#tag/Search/operation/searchVideos
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/searx.engines.peertube.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/src/searx.engines.peertube.rst b/docs/src/searx.engines.peertube.rst new file mode 100644 index 000000000..757d9c742 --- /dev/null +++ b/docs/src/searx.engines.peertube.rst @@ -0,0 +1,19 @@ +.. _peertube engines: + +================ +Peertube Engines +================ + +.. contents:: Contents + :depth: 2 + :local: + :backlinks: entry + + +.. _peertube video engine: + +Peertube Video +============== + +.. automodule:: searx.engines.peertube + :members: |