Peertube Engines

Back to top

Peertube Video

Peertube and SepiaSearch do share (more or less) the same REST API and the schema of the JSON result is identical.

searx.engines.peertube.base_url = 'https://peer.tube' : Base URL of the Peertube instance. A list of instances is available at:

- <https://instances.joinpeertube.org/instances>

searx.engines.peertube.request(query, params)[source] : Assemble request for the Peertube API

searx.engines.peertube.video_response(resp)[source] : Parse video response from SepiaSearch and Peertube instances.

searx.engines.peertube.fetch_traits(engine_traits: EngineTraits)[source] : Fetch languages from peertube’s search-index source code.

See [videoLanguages](https://framagit.org/framasoft/peertube/search-index/-/commit/8ed5c729#3d8747f9a60695c367c70bb64efba8f403721fad_0_291) in commit [8ed5c729 - Refactor and redesign client](https://framagit.org/framasoft/peertube/search-index/-/commit/8ed5c729)

SepiaSearch

SepiaSearch uses the same languages as Peertube and the response is identical to the response from the peertube engines.

searx.engines.sepiasearch.request(query, params)[source] : Assemble request for the SepiaSearch API

Copyright © SearXNG team

Made with Furo

💾 🌐