[imagetwist:gallery] support multiple pages (#8826)

This commit is contained in:
Mike Fährmann
2026-01-07 21:36:22 +01:00
parent de85878bb5
commit 5b8627a646
2 changed files with 28 additions and 6 deletions

View File

@@ -14,8 +14,12 @@ __tests__ = (
"#category": ("imagehost", "imagetwist", "image"),
"#class" : imagehosts.ImagetwistImageExtractor,
"#sha1_url" : "8d5e168c0bee30211f821c6f3b2116e419d42671",
"#sha1_metadata": "d1060a4c2e3b73b83044e20681712c0ffdd6cfef",
"#sha1_content" : "0c8768055e4e20e7c7259608b67799171b691140",
"filename" : "test",
"extension": "png",
"token" : "f1i2s4vhvbrq",
"post_url" : "https://imagetwist.com/f1i2s4vhvbrq",
},
{
@@ -62,4 +66,13 @@ __tests__ = (
),
},
{
"#url" : "https://imagetwist.com/p/gdldev/806105/multi",
"#comment" : "multiple pages (#8826)",
"#category": ("imagehost", "imagetwist", "gallery"),
"#class" : imagehosts.ImagetwistGalleryExtractor,
"#pattern" : imagehosts.ImagetwistImageExtractor.pattern,
"#count" : 100,
},
)