mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
Fix imagefap extrcator
This commit is contained in:
parent
e76d5756a0
commit
99c53f7fa8
@ -194,7 +194,7 @@ class ImagefapFolderExtractor(ImagefapExtractor):
|
||||
cnt = 0
|
||||
|
||||
while True:
|
||||
gid = extr('<a href="/gallery/', '"')
|
||||
gid = extr(' id="gid-', '"')
|
||||
if not gid:
|
||||
break
|
||||
yield gid, extr("<b>", "<"), folder_name
|
||||
|
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user