diff --git a/instanceinfo.sh b/instanceinfo.sh index 0d790fc..64b2a60 100755 --- a/instanceinfo.sh +++ b/instanceinfo.sh @@ -87,7 +87,9 @@ function parse_nodeinfo() jq -rj ".metadata.library.artists.total" <<<"${json}" echo -n " / " jq -r ".metadata.library.tracks.total" <<<"${json}" - elif [[ "${implementation}" == "mastodon" ]]; then + elif [[ "${implementation}" == "mastodon" ]] || + [[ "${implementation}" =~ don$ ]] || + [[ "${implementation}" =~ ^masto ]]; then echo -e "\nUsing Mastodon API additionally." parse_mastodon ${instance} "https://${instance}/api/v1/instance" elif [[ "${implementation}" == "pixelfed" ]]; then