diff --git a/gallery_dl/extractor/common.py b/gallery_dl/extractor/common.py index 47701b0b..b4d9ddbb 100644 --- a/gallery_dl/extractor/common.py +++ b/gallery_dl/extractor/common.py @@ -879,12 +879,16 @@ class Dispatch(): def initialize(self): pass - def _dispatch_extractors(self, extractor_data, default=()): + def _dispatch_extractors(self, extractor_data, default=(), alt=None): extractors = { data[0].subcategory: data for data in extractor_data } + if alt is not None: + for sub, sub_alt in alt: + extractors[sub_alt] = extractors[sub] + include = self.config("include", default) or () if include == "all": include = extractors diff --git a/gallery_dl/extractor/pixiv.py b/gallery_dl/extractor/pixiv.py index bf0ba43f..477a9cd1 100644 --- a/gallery_dl/extractor/pixiv.py +++ b/gallery_dl/extractor/pixiv.py @@ -392,7 +392,10 @@ class PixivUserExtractor(Dispatch, PixivExtractor): (PixivFavoriteExtractor , base + "bookmarks/artworks"), (PixivNovelBookmarkExtractor, base + "bookmarks/novels"), (PixivNovelUserExtractor , base + "novels"), - ), ("artworks",)) + ), ("artworks",), ( + ("bookmark", "novel-bookmark"), + ("user" , "novel-user"), + )) class PixivArtworksExtractor(PixivExtractor):