From a7611c6e6f50ca57412506b820d7a3292d12f110 Mon Sep 17 00:00:00 2001 From: Toad King Date: Mon, 31 Jul 2023 17:10:29 -0500 Subject: [PATCH] remove GoToSocial from Mastodon API support list https://github.com/superseriousbusiness/gotosocial/issues/2038 --- find_posts.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/find_posts.py b/find_posts.py index 6c76128..8b64723 100644 --- a/find_posts.py +++ b/find_posts.py @@ -1189,11 +1189,14 @@ def get_server_info(server, seen_hosts): def set_server_apis(server): # support for new server software should be added here software_apis = { - 'mastodonApiSupport': ['mastodon', 'pleroma', 'akkoma', 'pixelfed', 'gotosocial', 'hometown'], + 'mastodonApiSupport': ['mastodon', 'pleroma', 'akkoma', 'pixelfed', 'hometown'], 'misskeyApiSupport': ['misskey', 'calckey', 'firefish', 'foundkey'], 'lemmyApiSupport': ['lemmy'] } + # software that has specific API support but is not compatible with FediFetcher for various reasons: + # * gotosocial - All Mastodon APIs require access token (https://github.com/superseriousbusiness/gotosocial/issues/2038) + for api, softwareList in software_apis.items(): server[api] = server['software'] in softwareList