[imagebam] raise 'NotFoundError' for deleted galleries

This commit is contained in:
Mike Fährmann
2026-01-18 21:46:12 +01:00
parent 8a481a5126
commit 09635352d0
2 changed files with 4 additions and 12 deletions

View File

@@ -49,7 +49,7 @@ class ImagebamGalleryExtractor(ImagebamExtractor):
example = "https://www.imagebam.com/view/GID"
def items(self):
page = self.request(self.root + self.path).text
page = self.request(self.root + self.path, notfound="gallery").text
images = self.images(page)
images.reverse()