2023-09-10 14:45:01 +02:00
|
|
|
# -*- 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 xhamster
|
|
|
|
|
|
|
|
|
|
|
|
__tests__ = (
|
|
|
|
{
|
2024-01-20 18:02:36 +01:00
|
|
|
"#url" : "https://xhamster.com/photos/gallery/take-me-to-the-carwash-at-digitaldesire-15860946",
|
2023-09-10 14:45:01 +02:00
|
|
|
"#category": ("", "xhamster", "gallery"),
|
|
|
|
"#class" : xhamster.XhamsterGalleryExtractor,
|
2024-01-20 18:02:36 +01:00
|
|
|
"#pattern" : r"https://ic-ph-ah\.xhcdn\.com/a/\w+/webp/000/\d+/\d+/\d+_1000\.jpg$",
|
|
|
|
"#count" : 19,
|
2023-09-10 14:45:01 +02:00
|
|
|
|
|
|
|
"comments": int,
|
|
|
|
"count" : int,
|
|
|
|
"favorite": bool,
|
|
|
|
"id" : int,
|
|
|
|
"num" : int,
|
|
|
|
"height" : int,
|
|
|
|
"width" : int,
|
|
|
|
"imageURL": str,
|
|
|
|
"pageURL" : str,
|
|
|
|
"thumbURL": str,
|
|
|
|
"gallery" : {
|
2024-01-20 18:02:36 +01:00
|
|
|
"date" : "dt:2022-02-02 06:30:09",
|
|
|
|
"description": "Alina Henessy loves to wash her car, and we love seeing every inch of her gorgeous body. More at DigitalDesire.com",
|
2023-09-10 14:45:01 +02:00
|
|
|
"dislikes" : int,
|
2024-01-20 18:02:36 +01:00
|
|
|
"id" : 15860946,
|
2023-09-10 14:45:01 +02:00
|
|
|
"likes" : int,
|
2024-01-20 18:02:36 +01:00
|
|
|
"tags" : [
|
|
|
|
"Babe",
|
|
|
|
"Public Nudity",
|
|
|
|
"Take",
|
|
|
|
"Taking",
|
|
|
|
"Masturbation",
|
|
|
|
"Take Me",
|
|
|
|
],
|
2023-09-10 14:45:01 +02:00
|
|
|
"thumbnail" : str,
|
2024-01-20 18:02:36 +01:00
|
|
|
"title" : "Take me to the carwash at DigitalDesire",
|
|
|
|
"views" : range(100000, 200000),
|
|
|
|
|
2023-09-10 14:45:01 +02:00
|
|
|
},
|
|
|
|
"user" : {
|
2024-01-20 18:02:36 +01:00
|
|
|
"id" : 4741860,
|
|
|
|
"name" : "DaringSex",
|
|
|
|
"retired" : False,
|
|
|
|
"subscribers": range(25000, 50000),
|
|
|
|
"url" : "https://xhamster.com/users/daringsex",
|
|
|
|
"verified" : False,
|
2023-09-10 14:45:01 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-01-20 18:02:36 +01:00
|
|
|
"#url" : "https://jp.xhamster2.com/photos/gallery/take-me-to-the-carwash-at-digitaldesire-15860946",
|
2023-09-10 14:45:01 +02:00
|
|
|
"#category": ("", "xhamster", "gallery"),
|
|
|
|
"#class" : xhamster.XhamsterGalleryExtractor,
|
2024-01-20 18:02:36 +01:00
|
|
|
"#pattern" : r"https://ic-ph-ah\.xhcdn\.com/a/\w+/webp/000/\d+/\d+/\d+_1000\.jpg$",
|
|
|
|
"#count" : 19,
|
2023-09-10 14:45:01 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://xhamster.com/photos/gallery/make-the-world-better-11748968",
|
|
|
|
"#category": ("", "xhamster", "gallery"),
|
|
|
|
"#class" : xhamster.XhamsterGalleryExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://xhamster.com/photos/gallery/11748968",
|
|
|
|
"#category": ("", "xhamster", "gallery"),
|
|
|
|
"#class" : xhamster.XhamsterGalleryExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://xhamster.one/photos/gallery/11748968",
|
|
|
|
"#category": ("", "xhamster", "gallery"),
|
|
|
|
"#class" : xhamster.XhamsterGalleryExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://xhamster.desi/photos/gallery/11748968",
|
|
|
|
"#category": ("", "xhamster", "gallery"),
|
|
|
|
"#class" : xhamster.XhamsterGalleryExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://xhamster2.com/photos/gallery/11748968",
|
|
|
|
"#category": ("", "xhamster", "gallery"),
|
|
|
|
"#class" : xhamster.XhamsterGalleryExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://en.xhamster.com/photos/gallery/11748968",
|
|
|
|
"#category": ("", "xhamster", "gallery"),
|
|
|
|
"#class" : xhamster.XhamsterGalleryExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://xhamster.porncache.net/photos/gallery/11748968",
|
|
|
|
"#category": ("", "xhamster", "gallery"),
|
|
|
|
"#class" : xhamster.XhamsterGalleryExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-01-20 18:02:36 +01:00
|
|
|
"#url" : "https://xhamster.com/users/daringsex/photos",
|
2023-09-10 14:45:01 +02:00
|
|
|
"#category": ("", "xhamster", "user"),
|
|
|
|
"#class" : xhamster.XhamsterUserExtractor,
|
|
|
|
"#pattern" : xhamster.XhamsterGalleryExtractor.pattern,
|
|
|
|
"#range" : "1-50",
|
|
|
|
"#count" : 50,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://xhamster.com/users/nickname68",
|
|
|
|
"#category": ("", "xhamster", "user"),
|
|
|
|
"#class" : xhamster.XhamsterUserExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
)
|