[thehentaiworld] support '/3d-cgi-hentai-images/' URLs (#8276)

This commit is contained in:
Mike Fährmann
2025-09-23 08:15:50 +02:00
parent facc0e0250
commit 4a9e0f065e
2 changed files with 8 additions and 1 deletions

View File

@@ -111,7 +111,8 @@ class ThehentaiworldExtractor(Extractor):
class ThehentaiworldPostExtractor(ThehentaiworldExtractor):
subcategory = "post"
pattern = rf"{BASE_PATTERN}(/(?:hentai-image|video)s/([^/?#]+))"
pattern = (rf"{BASE_PATTERN}"
rf"(/(?:(?:3d-cgi-)?hentai-image|video)s/([^/?#]+))")
example = "https://thehentaiworld.com/hentai-images/SLUG/"
def posts(self):

View File

@@ -173,6 +173,12 @@ __tests__ = (
"tags_origin" : ["Fairy Tail"],
},
{
"#url" : "https://thehentaiworld.com/3d-cgi-hentai-images/ciri-and-shani-cekc-the-witcher-3/",
"#class" : thehentaiworld.ThehentaiworldPostExtractor,
"#results" : "https://thehentaiworld.com/wp-content/uploads/2025/08/Ciri-and-Shani-CEKC-The-Witcher-3-Hentai-3D-CGI.jpeg",
},
{
"#url" : "https://thehentaiworld.com/tag/aurahack/",
"#class" : thehentaiworld.ThehentaiworldTagExtractor,