instanceinfo.sh: Use Mastodon API additionally for Bookwyrm.
This commit is contained in:
parent
a9a076c06c
commit
342091a995
|
@ -89,7 +89,8 @@ function parse_nodeinfo()
|
|||
jq -r ".metadata.library.tracks.total" <<<"${json}"
|
||||
elif [[ "${implementation}" == "mastodon" ]] ||
|
||||
[[ "${implementation}" =~ don$ ]] ||
|
||||
[[ "${implementation}" =~ ^masto ]]; then
|
||||
[[ "${implementation}" =~ ^masto ]] ||
|
||||
[[ "${implementation}" == "bookwyrm" ]]; then
|
||||
echo -e "\nUsing Mastodon API additionally."
|
||||
parse_mastodon ${instance} "https://${instance}/api/v1/instance"
|
||||
elif [[ "${implementation}" == "pixelfed" ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user