diff --git a/docs/supportedsites.md b/docs/supportedsites.md index 015a126f..17b341fe 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -1424,25 +1424,25 @@ Consider all listed sites to potentially be NSFW. Misskey.io https://misskey.io/ - Avatars, Backgrounds, Favorites, Followed Users, Images from Notes, User Profiles + Avatars, Backgrounds, Favorites, Followed Users, User Profile Information, Images from Notes, User Profiles Misskey.design https://misskey.design/ - Avatars, Backgrounds, Favorites, Followed Users, Images from Notes, User Profiles + Avatars, Backgrounds, Favorites, Followed Users, User Profile Information, Images from Notes, User Profiles Lesbian.energy https://lesbian.energy/ - Avatars, Backgrounds, Favorites, Followed Users, Images from Notes, User Profiles + Avatars, Backgrounds, Favorites, Followed Users, User Profile Information, Images from Notes, User Profiles Sushi.ski https://sushi.ski/ - Avatars, Backgrounds, Favorites, Followed Users, Images from Notes, User Profiles + Avatars, Backgrounds, Favorites, Followed Users, User Profile Information, Images from Notes, User Profiles diff --git a/gallery_dl/extractor/misskey.py b/gallery_dl/extractor/misskey.py index 7ee5278a..5f3bc513 100644 --- a/gallery_dl/extractor/misskey.py +++ b/gallery_dl/extractor/misskey.py @@ -113,6 +113,17 @@ class MisskeyUserExtractor(MisskeyExtractor): return self.api.users_notes(self.api.user_id_by_username(self.item)) +class MisskeyInfoExtractor(MisskeyExtractor): + """Extractor for a Misskey user's profile data""" + subcategory = "info" + pattern = BASE_PATTERN + r"/@([^/?#]+)/info" + example = "https://misskey.io/@USER/info" + + def items(self): + user = self.api.users_show(self.item) + return iter(((Message.Directory, user),)) + + class MisskeyAvatarExtractor(MisskeyExtractor): """Extractor for a Misskey user's avatar""" subcategory = "avatar"