diff --git a/gallery_dl/extractor/common.py b/gallery_dl/extractor/common.py index 09737ef9..50d1026c 100644 --- a/gallery_dl/extractor/common.py +++ b/gallery_dl/extractor/common.py @@ -555,7 +555,13 @@ class GalleryExtractor(Extractor): def items(self): self.login() - page = self.request(self.gallery_url, notfound=self.subcategory).text + + if self.gallery_url: + page = self.request( + self.gallery_url, notfound=self.subcategory).text + else: + page = None + data = self.metadata(page) imgs = self.images(page)