[imagechest] fix loading more than 10 images in a gallery (#4469)
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user