1
0

Bluesky and Plurk
All checks were successful
Python Package / Package (push) Has been skipped

This commit is contained in:
Jon Michael Aanes 2024-02-06 18:18:21 +01:00
parent 4faf22d3e8
commit 072ab3f297

View File

@ -52,7 +52,8 @@ class SocialSiteId(aenum.Enum):
DEVIANT_ART_ACCOUNT = 7737
DANBOORU_ARTIST = 30
BANDCAMP_PROFILE = 3283
BLUESKY_PROFILE = 32
BLUESKY_PROFILE = 12361
BLUESKY_DID = 12409
ITCH_IO_DEVELOPER = 8176
FIREFOX_PROFILE_BOOKMARKS = 33
COHOST_PROFILE = 117203288
@ -61,6 +62,8 @@ class SocialSiteId(aenum.Enum):
GITHUB_REPOSITORY = 364
PLURK = 32111
def wikidata_property(self, client):
return client.get(WIKIDATA_PROPERTIES[self])
@ -127,7 +130,8 @@ WIKIDATA_PROPERTIES = {
SocialSiteId.DEVIANT_ART_ACCOUNT: WikidataInfo(7737, None),
SocialSiteId.DANBOORU_ARTIST: WikidataInfo(None, 64514853),
SocialSiteId.BANDCAMP_PROFILE: WikidataInfo(3283, 545966),
SocialSiteId.BLUESKY_PROFILE: WikidataInfo(None, 78194383),
SocialSiteId.BLUESKY_PROFILE: WikidataInfo(12361, 78194383),
SocialSiteId.BLUESKY_DID: WikidataInfo(12409, 78194383),
SocialSiteId.ITCH_IO_DEVELOPER: WikidataInfo(8176, 22905933),
SocialSiteId.COHOST_PROFILE: WikidataInfo(None, 117203288),
SocialSiteId.SOUNDCLOUD_ARTIST: WikidataInfo(3040, None),
@ -312,6 +316,9 @@ REGEXES = [
# Github
(re_social_path_adv('github.com', RE_DUAL_ID), SocialSiteId.GITHUB_REPOSITORY),
# Plurk
(re_social_path_adv('plurk.com', RE_ID), SocialSiteId.PLURK),
]
WELL_KNOWN_MASTODON_INSTANCES = frozenset({