mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
192 lines
5.6 KiB
Python
192 lines
5.6 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License version 2 as
|
|
# published by the Free Software Foundation.
|
|
|
|
from gallery_dl.extractor import imagefap
|
|
|
|
|
|
__tests__ = (
|
|
{
|
|
"#url" : "https://www.imagefap.com/gallery/7102714",
|
|
"#category": ("", "imagefap", "gallery"),
|
|
"#class" : imagefap.ImagefapGalleryExtractor,
|
|
"#pattern" : r"https://cdnh?\.imagefap\.com/images/full/\d+/\d+/\d+\.jpg",
|
|
"#sha1_metadata": "bdcb75b1e4b9dddc718f3d66e1a58afa9d81a38b",
|
|
"#sha1_content" : "694a0a57385980a6f90fbc296cadcd6c11ba2dab",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/gallery/7876223",
|
|
"#category": ("", "imagefap", "gallery"),
|
|
"#class" : imagefap.ImagefapGalleryExtractor,
|
|
"#pattern" : r"https://cdnh?\.imagefap\.com/images/full/\d+/\d+/\d+\.jpg",
|
|
"#count" : 44,
|
|
|
|
"categories" : [
|
|
"Asses",
|
|
"Softcore",
|
|
"Pornstars",
|
|
],
|
|
"count" : 44,
|
|
"description": "",
|
|
"gallery_id" : 7876223,
|
|
"image_id" : int,
|
|
"num" : int,
|
|
"tags" : [
|
|
"big ass",
|
|
"panties",
|
|
"horny",
|
|
"pussy",
|
|
"exposed",
|
|
"outdoor",
|
|
],
|
|
"title" : "Kelsi Monroe in lingerie",
|
|
"uploader" : "BdRachel",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/gallery/6180555",
|
|
"#comment" : "description (#3905)",
|
|
"#category": ("", "imagefap", "gallery"),
|
|
"#class" : imagefap.ImagefapGalleryExtractor,
|
|
"#range" : "1",
|
|
|
|
"categories" : [
|
|
"Amateur",
|
|
"Softcore",
|
|
"Homemade",
|
|
],
|
|
"count" : 36,
|
|
"description": "Nude and dressed sluts showing off the goods",
|
|
"gallery_id" : 6180555,
|
|
"image_id" : int,
|
|
"num" : int,
|
|
"tags" : [],
|
|
"title" : "Dressed or Undressed MG*",
|
|
"uploader" : "splitopen",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/pictures/7102714",
|
|
"#category": ("", "imagefap", "gallery"),
|
|
"#class" : imagefap.ImagefapGalleryExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/gallery.php?gid=7102714",
|
|
"#category": ("", "imagefap", "gallery"),
|
|
"#class" : imagefap.ImagefapGalleryExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://beta.imagefap.com/gallery.php?gid=7102714",
|
|
"#category": ("", "imagefap", "gallery"),
|
|
"#class" : imagefap.ImagefapGalleryExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/photo/1962981893",
|
|
"#category": ("", "imagefap", "image"),
|
|
"#class" : imagefap.ImagefapImageExtractor,
|
|
"#pattern" : r"https://cdnh?\.imagefap\.com/images/full/65/196/1962981893\.jpg",
|
|
|
|
"date" : "21/08/2014",
|
|
"gallery_id": 7876223,
|
|
"height" : 1600,
|
|
"image_id" : 1962981893,
|
|
"title" : "Kelsi Monroe in lingerie",
|
|
"uploader" : "BdRachel",
|
|
"width" : 1066,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://beta.imagefap.com/photo/1962981893",
|
|
"#category": ("", "imagefap", "image"),
|
|
"#class" : imagefap.ImagefapImageExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/organizer/409758",
|
|
"#category": ("", "imagefap", "folder"),
|
|
"#class" : imagefap.ImagefapFolderExtractor,
|
|
"#pattern" : r"https://www\.imagefap\.com/gallery/7876223",
|
|
"#count" : 1,
|
|
"#sha1_url": "37822523e6e4a56feb9dea35653760c86b44ff89",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/usergallery.php?userid=1981976&folderid=409758",
|
|
"#category": ("", "imagefap", "folder"),
|
|
"#class" : imagefap.ImagefapFolderExtractor,
|
|
"#sha1_url": "37822523e6e4a56feb9dea35653760c86b44ff89",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/usergallery.php?user=BdRachel&folderid=409758",
|
|
"#category": ("", "imagefap", "folder"),
|
|
"#class" : imagefap.ImagefapFolderExtractor,
|
|
"#sha1_url": "37822523e6e4a56feb9dea35653760c86b44ff89",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/profile/BdRachel/galleries?folderid=-1",
|
|
"#category": ("", "imagefap", "folder"),
|
|
"#class" : imagefap.ImagefapFolderExtractor,
|
|
"#pattern" : imagefap.ImagefapGalleryExtractor.pattern,
|
|
"#range" : "1-40",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/usergallery.php?userid=1981976&folderid=-1",
|
|
"#category": ("", "imagefap", "folder"),
|
|
"#class" : imagefap.ImagefapFolderExtractor,
|
|
"#pattern" : imagefap.ImagefapGalleryExtractor.pattern,
|
|
"#range" : "1-40",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/usergallery.php?user=BdRachel&folderid=-1",
|
|
"#category": ("", "imagefap", "folder"),
|
|
"#class" : imagefap.ImagefapFolderExtractor,
|
|
"#pattern" : imagefap.ImagefapGalleryExtractor.pattern,
|
|
"#range" : "1-40",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/profile/BdRachel",
|
|
"#category": ("", "imagefap", "user"),
|
|
"#class" : imagefap.ImagefapUserExtractor,
|
|
"#pattern" : imagefap.ImagefapFolderExtractor.pattern,
|
|
"#count" : ">= 18",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/usergallery.php?userid=1862791",
|
|
"#category": ("", "imagefap", "user"),
|
|
"#class" : imagefap.ImagefapUserExtractor,
|
|
"#pattern" : r"https://www\.imagefap\.com/profile/LucyRae/galleries\?folderid=-1",
|
|
"#count" : 1,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/profile/BdRachel/galleries",
|
|
"#category": ("", "imagefap", "user"),
|
|
"#class" : imagefap.ImagefapUserExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.imagefap.com/profile.php?user=BdRachel",
|
|
"#category": ("", "imagefap", "user"),
|
|
"#class" : imagefap.ImagefapUserExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://beta.imagefap.com/profile.php?user=BdRachel",
|
|
"#category": ("", "imagefap", "user"),
|
|
"#class" : imagefap.ImagefapUserExtractor,
|
|
},
|
|
|
|
)
|