From 99c53f7fa8bc47953f8e0cb130d23d8940d97188 Mon Sep 17 00:00:00 2001 From: Herp Date: Thu, 14 Mar 2024 23:37:16 -0400 Subject: [PATCH] Fix imagefap extrcator --- gallery_dl/extractor/imagefap.py | 2 +- test/results/imagefap.py | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/imagefap.py b/gallery_dl/extractor/imagefap.py index 32fe3715..85446c01 100644 --- a/gallery_dl/extractor/imagefap.py +++ b/gallery_dl/extractor/imagefap.py @@ -194,7 +194,7 @@ class ImagefapFolderExtractor(ImagefapExtractor): cnt = 0 while True: - gid = extr('", "<"), folder_name diff --git a/test/results/imagefap.py b/test/results/imagefap.py index 7ac1631f..8cdaf9b1 100644 --- a/test/results/imagefap.py +++ b/test/results/imagefap.py @@ -120,6 +120,16 @@ __tests__ = ( "#sha1_url": "37822523e6e4a56feb9dea35653760c86b44ff89", }, +{ + "#url" : "https://www.imagefap.com/organizer/613950/Grace-Stout", + "#category": ("", "imagefap", "folder"), + "#class" : imagefap.ImagefapFolderExtractor, + "#pattern" : imagefap.ImagefapGalleryExtractor.pattern, + "#count" : 31, + + "title": r"re:Grace Stout .+", +}, + { "#url" : "https://www.imagefap.com/usergallery.php?userid=1981976&folderid=409758", "#category": ("", "imagefap", "folder"),