.oO SearXNG Developer Documentation Oo.
|
Functions | |
request (query, params) | |
response (resp) | |
Variables | |
dict | about |
list | categories = ['social media'] |
str | base_url = "https://mastodon.social" |
str | mastodon_type = "accounts" |
int | page_size = 40 |
Mastodon_ is an open source alternative to large social media platforms like Twitter/X, Facebook, ... Since it's federated and self-hostable, there's a large amount of available instances, which can be chosen instead by modifying ``base_url``. We use their official API_ for searching, but unfortunately, their Search API_ forbids pagination without OAuth. That's why we use tootfinder.ch for finding posts, which doesn't support searching for users, accounts or other types of content on Mastodon however. .. _Mastodon: https://mastodon.social .. _API: https://docs.joinmastodon.org/api/
searx.engines.mastodon.request | ( | query, | |
params ) |
Definition at line 39 of file mastodon.py.
searx.engines.mastodon.response | ( | resp | ) |
Definition at line 50 of file mastodon.py.
dict searx.engines.mastodon.about |
Definition at line 22 of file mastodon.py.
str searx.engines.mastodon.base_url = "https://mastodon.social" |
Definition at line 32 of file mastodon.py.
list searx.engines.mastodon.categories = ['social media'] |
Definition at line 30 of file mastodon.py.
str searx.engines.mastodon.mastodon_type = "accounts" |
Definition at line 33 of file mastodon.py.
int searx.engines.mastodon.page_size = 40 |
Definition at line 36 of file mastodon.py.