Compare commits
No commits in common. "072ab3f29769a945ee3e00df2ab66ff6c5837a41" and "ec00b0a6560fcb500fa152294928c14fb6eb458f" have entirely different histories.
072ab3f297
...
ec00b0a656
|
@ -52,8 +52,7 @@ class SocialSiteId(aenum.Enum):
|
||||||
DEVIANT_ART_ACCOUNT = 7737
|
DEVIANT_ART_ACCOUNT = 7737
|
||||||
DANBOORU_ARTIST = 30
|
DANBOORU_ARTIST = 30
|
||||||
BANDCAMP_PROFILE = 3283
|
BANDCAMP_PROFILE = 3283
|
||||||
BLUESKY_PROFILE = 12361
|
BLUESKY_PROFILE = 32
|
||||||
BLUESKY_DID = 12409
|
|
||||||
ITCH_IO_DEVELOPER = 8176
|
ITCH_IO_DEVELOPER = 8176
|
||||||
FIREFOX_PROFILE_BOOKMARKS = 33
|
FIREFOX_PROFILE_BOOKMARKS = 33
|
||||||
COHOST_PROFILE = 117203288
|
COHOST_PROFILE = 117203288
|
||||||
|
@ -62,8 +61,6 @@ class SocialSiteId(aenum.Enum):
|
||||||
|
|
||||||
GITHUB_REPOSITORY = 364
|
GITHUB_REPOSITORY = 364
|
||||||
|
|
||||||
PLURK = 32111
|
|
||||||
|
|
||||||
def wikidata_property(self, client):
|
def wikidata_property(self, client):
|
||||||
return client.get(WIKIDATA_PROPERTIES[self])
|
return client.get(WIKIDATA_PROPERTIES[self])
|
||||||
|
|
||||||
|
@ -130,8 +127,7 @@ WIKIDATA_PROPERTIES = {
|
||||||
SocialSiteId.DEVIANT_ART_ACCOUNT: WikidataInfo(7737, None),
|
SocialSiteId.DEVIANT_ART_ACCOUNT: WikidataInfo(7737, None),
|
||||||
SocialSiteId.DANBOORU_ARTIST: WikidataInfo(None, 64514853),
|
SocialSiteId.DANBOORU_ARTIST: WikidataInfo(None, 64514853),
|
||||||
SocialSiteId.BANDCAMP_PROFILE: WikidataInfo(3283, 545966),
|
SocialSiteId.BANDCAMP_PROFILE: WikidataInfo(3283, 545966),
|
||||||
SocialSiteId.BLUESKY_PROFILE: WikidataInfo(12361, 78194383),
|
SocialSiteId.BLUESKY_PROFILE: WikidataInfo(None, 78194383),
|
||||||
SocialSiteId.BLUESKY_DID: WikidataInfo(12409, 78194383),
|
|
||||||
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),
|
||||||
|
@ -309,16 +305,13 @@ REGEXES = [
|
||||||
(re_social_path_adv('cohost.org', RE_ID), SocialSiteId.COHOST_PROFILE),
|
(re_social_path_adv('cohost.org', RE_ID), SocialSiteId.COHOST_PROFILE),
|
||||||
|
|
||||||
# Soundcloud
|
# Soundcloud
|
||||||
(re_social_path_adv('soundcloud.com', RE_ID), SocialSiteId.SOUNDCLOUD_ARTIST),
|
(re_social_path_adv('soundcloud.com', RE_ID), SocialSiteId.IGDB_GAME_ID),
|
||||||
|
|
||||||
# IGDB
|
# IGDB
|
||||||
(re_social_path_adv('igdb.com', 'games', RE_ID), SocialSiteId.IGDB_GAME_ID),
|
(re_social_path_adv('igdb.com', 'games', RE_ID), SocialSiteId.IGDB_GAME_ID),
|
||||||
|
|
||||||
# Github
|
# Github
|
||||||
(re_social_path_adv('github.com', RE_DUAL_ID), SocialSiteId.GITHUB_REPOSITORY),
|
(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({
|
WELL_KNOWN_MASTODON_INSTANCES = frozenset({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user