From a62bd81e9b117b8ec87141c85cd1bb43ec158d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 29 May 2018 10:30:41 +0200 Subject: [PATCH] [pixiv] fix filter for 'type=all' --- gallery_dl/extractor/pixiv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/pixiv.py b/gallery_dl/extractor/pixiv.py index bd481e62..48acc628 100644 --- a/gallery_dl/extractor/pixiv.py +++ b/gallery_dl/extractor/pixiv.py @@ -127,7 +127,8 @@ class PixivUserExtractor(PixivExtractor): qdict = text.parse_query(self.query) if "type" in qdict: type_ = qdict["type"].lower() - works = filter(self._is_type(type_), works) + if type_ != "all": + works = filter(self._is_type(type_), works) if "tag" in qdict: tag = text.unquote(qdict["tag"]).lower() works = filter(self._has_tag(tag), works)