[imagechest] fix loading more than 10 images in a gallery (#4469)

This commit is contained in:
Mike Fährmann
2023-12-23 21:58:53 +01:00
parent 6840717745
commit 766316e436
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ class ImagechestGalleryExtractor(GalleryExtractor):
} }
def images(self, page): def images(self, page):
if " More Files</button>" in page: if ' load-all">' in page:
url = "{}/p/{}/loadAll".format(self.root, self.gallery_id) url = "{}/p/{}/loadAll".format(self.root, self.gallery_id)
headers = { headers = {
"X-Requested-With": "XMLHttpRequest", "X-Requested-With": "XMLHttpRequest",

View File

@@ -6,4 +6,4 @@
# it under the terms of the GNU General Public License version 2 as # it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation. # published by the Free Software Foundation.
__version__ = "1.26.5" __version__ = "1.26.6-dev"