1
0

Threads
All checks were successful
Python Package / Package (push) Has been skipped

This commit is contained in:
Jon Michael Aanes 2024-02-17 21:22:36 +01:00
parent 9f6068b2f5
commit 9533863330

View File

@ -57,6 +57,7 @@ class SocialSiteId(aenum.Enum):
BANDCAMP_PROFILE = 3283 BANDCAMP_PROFILE = 3283
BLUESKY_PROFILE = 12361 BLUESKY_PROFILE = 12361
BLUESKY_DID = 12409 BLUESKY_DID = 12409
THREADS_USERNAME = 11892
ITCH_IO_DEVELOPER = 8176 ITCH_IO_DEVELOPER = 8176
COHOST_PROFILE = 117203288 COHOST_PROFILE = 117203288
SOUNDCLOUD_ARTIST = 3040 SOUNDCLOUD_ARTIST = 3040
@ -140,6 +141,7 @@ WIKIDATA_PROPERTIES = {
SocialSiteId.BANDCAMP_PROFILE: WikidataInfo(3283, 545966), SocialSiteId.BANDCAMP_PROFILE: WikidataInfo(3283, 545966),
SocialSiteId.BLUESKY_PROFILE: WikidataInfo(12361, 78194383), SocialSiteId.BLUESKY_PROFILE: WikidataInfo(12361, 78194383),
SocialSiteId.BLUESKY_DID: WikidataInfo(12409, 78194383), SocialSiteId.BLUESKY_DID: WikidataInfo(12409, 78194383),
SocialSiteId.THREADS_USERNAME: WikidataInfo(11892, 120281745),
SocialSiteId.ITCH_IO_DEVELOPER: WikidataInfo(8176, 22905933), SocialSiteId.ITCH_IO_DEVELOPER: WikidataInfo(8176, 22905933),
SocialSiteId.COHOST_PROFILE: WikidataInfo(None, 117203288), SocialSiteId.COHOST_PROFILE: WikidataInfo(None, 117203288),
SocialSiteId.SOUNDCLOUD_ARTIST: WikidataInfo(3040, None), SocialSiteId.SOUNDCLOUD_ARTIST: WikidataInfo(3040, None),
@ -331,6 +333,9 @@ REGEXES = [
# Bluesky # Bluesky
(URL_PARSE_BLUESKY, SocialSiteId.BLUESKY_PROFILE), (URL_PARSE_BLUESKY, SocialSiteId.BLUESKY_PROFILE),
# Threads
(re_social_path_adv('threads.net', RE_ID), SocialSiteId.THREADS_USERNAME),
# Itch.io # Itch.io
(re_social_subdomain('itch.io'), SocialSiteId.ITCH_IO_DEVELOPER), (re_social_subdomain('itch.io'), SocialSiteId.ITCH_IO_DEVELOPER),