[pixiv] fix 'pixivision' extraction

This commit is contained in:
Mike Fährmann
2023-04-30 15:35:32 +02:00
parent 5fb7107f2b
commit b12dad8df5

View File

@@ -673,7 +673,7 @@ class PixivPixivisionExtractor(PixivExtractor):
def works(self):
return (
self.api.illust_detail(illust_id)
self.api.illust_detail(illust_id.partition("?")[0])
for illust_id in util.unique_sequence(text.extract_iter(
self.page, '<a href="https://www.pixiv.net/en/artworks/', '"'))
)